PYTHON-3522 Increase test timeout for Windows (#1181)

Temporarily skip CSOT GridFS tests on Windows.
This commit is contained in:
Shane Harvey 2023-04-05 11:24:27 -07:00 committed by GitHub
parent d8897fce3e
commit acc6605ea1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -52,7 +52,7 @@
],
"appName": "reduceMaxTimeMSTest",
"blockConnection": true,
"blockTimeMS": 50
"blockTimeMS": 75
}
}
}

View File

@ -947,6 +947,8 @@ class UnifiedSpecTestMixinV1(IntegrationTest):
class_name = self.__class__.__name__.lower()
description = spec["description"].lower()
if "csot" in class_name:
if "gridfs" in class_name and sys.platform == "win32":
self.skipTest("PYTHON-3522 CSOT GridFS tests are flaky on Windows")
if client_context.storage_engine == "mmapv1":
self.skipTest(
"MMAPv1 does not support retryable writes which is required for CSOT tests"