Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

RUBY-462 - DBAPITest#test_array fails sporadically

  • Loading branch information...
commit cfeda976639701b7f47a0d12ed32736131ded613 1 parent 23e1153
@gjmurakami-10gen gjmurakami-10gen authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/db_api_test.rb
View
2  test/db_api_test.rb
@@ -429,7 +429,7 @@ def test_index_on_subfield
end
def test_array
- @@coll.remove({}, :safe => true)
+ @@coll.remove({'$atomic' => true}, :safe => true)
@@coll.insert({'b' => [1, 2, 3]}, :safe => true)
@@coll.insert({'b' => [1, 2, 3]}, :safe => true)
rows = @@coll.find({}, {:fields => ['b']}).to_a
Please sign in to comment.
Something went wrong with that request. Please try again.