Skip to content

Commit 60217e4

Browse files
committed
Fix race in test_common.
1 parent 64cda72 commit 60217e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def test_mongo_client(self):
234234
self.assertTrue(coll.insert(doc))
235235

236236
# Equality tests
237-
direct = single_client(w=0)
237+
direct = connected(single_client(w=0))
238238
self.assertEqual(direct,
239239
connected(MongoClient("mongodb://%s/?w=0" % (pair,))))
240240

0 commit comments

Comments
 (0)