PYTHON-684 - Use unordered bulk for unordered test.

This commit is contained in:
Bernie Hackett 2014-04-29 13:44:51 -07:00
parent baed02fb11
commit d703ebb832

View File

@ -988,7 +988,7 @@ class TestBulkWriteConcern(BulkTestBase):
raise SkipTest("Need a replica set to test.")
# Ensure we don't raise on wnote.
batch = self.coll.initialize_ordered_bulk_op()
batch = self.coll.initialize_unordered_bulk_op()
batch.find({"something": "that does not exist"}).remove()
self.assertTrue(batch.execute({"w": self.w}))