tests/mongo-qa/stress1 in mongodb-mongo-0.11.1 vs tests/mongo-qa/stress1 in mongodb-mongo-0.12
- old
+ new
@@ -20,10 +20,10 @@
:blah => LONG_STRING, :subarray => [])
}
puts
n2.times { |i|
- x = c.find_first({:id => i})
+ x = c.find_one({:id => i})
x['subarray'] = "foo#{i}"
p x
c.modify({:id => i}, x)
}
puts