diff --git a/test/asynchronous/unified_format.py b/test/asynchronous/unified_format.py index 9099efbf0f..10b247d1fa 100644 --- a/test/asynchronous/unified_format.py +++ b/test/asynchronous/unified_format.py @@ -551,6 +551,12 @@ def maybe_skip_test(self, spec): self.skipTest("PYTHON-5170 tests are flakey") if "Driver extends timeout while streaming" in spec["description"] and not _IS_SYNC: self.skipTest("PYTHON-5174 tests are flakey") + if ( + "inserting _id with type null via clientBulkWrite" in spec["description"] + or "commitTransaction fails after Interrupted" in spec["description"] + or "commit is not retried after MaxTimeMSExpired error" in spec["description"] + ) and async_client_context.serverless: + self.skipTest("PYTHON-5326 known serverless failures") class_name = self.__class__.__name__.lower() description = spec["description"].lower() diff --git a/test/unified_format.py b/test/unified_format.py index 71d6cd50d4..d3da2b3a82 100644 --- a/test/unified_format.py +++ b/test/unified_format.py @@ -550,6 +550,12 @@ def maybe_skip_test(self, spec): self.skipTest("PYTHON-5170 tests are flakey") if "Driver extends timeout while streaming" in spec["description"] and not _IS_SYNC: self.skipTest("PYTHON-5174 tests are flakey") + if ( + "inserting _id with type null via clientBulkWrite" in spec["description"] + or "commitTransaction fails after Interrupted" in spec["description"] + or "commit is not retried after MaxTimeMSExpired error" in spec["description"] + ) and client_context.serverless: + self.skipTest("PYTHON-5326 known serverless failures") class_name = self.__class__.__name__.lower() description = spec["description"].lower()