Commit 7720f498 authored by Micaël Bergeron's avatar Micaël Bergeron Committed by Rémy Coutable

removed the dependency on another background job running inline

this test should be only testing for code that is in the
described_class, not on another job that run afterward.

I also think that the coverage of this task is sufficient with
the CreateForkNetworkMembershipsRange tests.
parent 02bc3cd1
......@@ -81,10 +81,6 @@ describe Gitlab::BackgroundMigration::PopulateForkNetworksRange, :migration, sch
it 'only processes a single batch of links at a time' do
expect(fork_network_members.count).to eq(5)
migration.perform(3, 5)
expect(fork_network_members.count).to eq(7)
end
it 'can be repeated without effect' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment