Skip to content

Commit cfeda97

Browse files
RUBY-462 - DBAPITest#test_array fails sporadically
1 parent 23e1153 commit cfeda97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/db_api_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ def test_index_on_subfield
429429
end
430430

431431
def test_array
432-
@@coll.remove({}, :safe => true)
432+
@@coll.remove({'$atomic' => true}, :safe => true)
433433
@@coll.insert({'b' => [1, 2, 3]}, :safe => true)
434434
@@coll.insert({'b' => [1, 2, 3]}, :safe => true)
435435
rows = @@coll.find({}, {:fields => ['b']}).to_a

0 commit comments

Comments
 (0)