Skip to content

Commit e9d4339

Browse files
committed
PYTHON-1734 Skip failing index tests on MongoDB 4.1
1 parent a913d34 commit e9d4339

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_legacy_api.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ def test_ensure_index(self):
12631263
# Clean up indexes for later tests
12641264
db.test.drop_indexes()
12651265

1266+
@client_context.require_version_max(4, 1) # PYTHON-1734
12661267
def test_ensure_index_threaded(self):
12671268
coll = self.db.threaded_index_creation
12681269
index_docs = []
@@ -1323,6 +1324,7 @@ def run(self):
13231324
finally:
13241325
coll.drop()
13251326

1327+
@client_context.require_version_max(4, 1) # PYTHON-1734
13261328
def test_ensure_unique_index_threaded(self):
13271329
coll = self.db.test_unique_threaded
13281330
coll.drop()

0 commit comments

Comments
 (0)