Skip to content

Commit cbd61c5

Browse files
authored
PYTHON-3951: [Temporary] Skip list search index Unified Tests (#1385)
1 parent 8de5c59 commit cbd61c5

File tree

2 files changed

+17
-6
lines changed

2 files changed

+17
-6
lines changed

.evergreen/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1580,7 +1580,7 @@ tasks:
15801580
commands:
15811581
- func: "bootstrap mongo-orchestration"
15821582
vars:
1583-
VERSION: "latest"
1583+
VERSION: "6.0"
15841584
TOPOLOGY: "replica_set"
15851585
- func: "run tests"
15861586
vars:

test/test_index_management.py

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -214,12 +214,23 @@ def test_case_5(self):
214214
coll0.drop_search_index("foo")
215215

216216

217-
globals().update(
218-
generate_test_classes(
219-
_TEST_PATH,
220-
module=__name__,
217+
if os.environ.get("TEST_INDEX_MANAGEMENT"):
218+
globals().update(
219+
generate_test_classes(
220+
_TEST_PATH,
221+
module=__name__,
222+
)
221223
)
222-
)
224+
else:
225+
226+
class TestIndexManagementUnifiedTests(unittest.TestCase):
227+
@classmethod
228+
def setUpClass(cls) -> None:
229+
raise unittest.SkipTest("Skipping index management pending PYTHON-3951")
230+
231+
def test_placeholder(self):
232+
pass
233+
223234

224235
if __name__ == "__main__":
225236
unittest.main()

0 commit comments

Comments
 (0)