Skip to content

Commit 36817ac

Browse files
committed
Fix a racy test
1 parent 7ee852a commit 36817ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_legacy_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1160,7 +1160,7 @@ def run(self):
11601160
pass
11611161
coll.ensure_index('foo')
11621162
coll.drop_indexes()
1163-
coll.ensure_index('foo')
1163+
coll.create_index('foo')
11641164

11651165
try:
11661166
threads = []

0 commit comments

Comments
 (0)