Skip to content

Commit 5b16e61

Browse files
committed
Account for race condition with w = 0
1 parent 57d7294 commit 5b16e61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

spec/mongo/operation/write/bulk/bulk_delete_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@
226226

227227
it 'does not abort after first error' do
228228
failing_delete.execute(authorized_primary.context)
229+
sleep(1)
229230
expect(authorized_collection.find.count).to eq(1)
230231
end
231232
end

0 commit comments

Comments
 (0)