PYTHON-5342 - Skip async test_srv_polling tests on Windows (#2320)
This commit is contained in:
parent
02c3df6fc9
commit
e7db0e34aa
@ -20,6 +20,7 @@ import sys
|
||||
import time
|
||||
from test.utils_shared import FunctionCallRecorder
|
||||
from typing import Any
|
||||
from unittest import skipIf
|
||||
|
||||
sys.path[0:0] = [""]
|
||||
|
||||
@ -91,6 +92,7 @@ class SrvPollingKnobs:
|
||||
self.disable()
|
||||
|
||||
|
||||
@skipIf(not _IS_SYNC and sys.platform == "win32", "PYTHON-5342 known issue on Windows")
|
||||
class TestSrvPolling(AsyncPyMongoTestCase):
|
||||
BASE_SRV_RESPONSE = [
|
||||
("localhost.test.build.10gen.cc", 27017),
|
||||
|
||||
@ -20,6 +20,7 @@ import sys
|
||||
import time
|
||||
from test.utils_shared import FunctionCallRecorder
|
||||
from typing import Any
|
||||
from unittest import skipIf
|
||||
|
||||
sys.path[0:0] = [""]
|
||||
|
||||
@ -91,6 +92,7 @@ class SrvPollingKnobs:
|
||||
self.disable()
|
||||
|
||||
|
||||
@skipIf(not _IS_SYNC and sys.platform == "win32", "PYTHON-5342 known issue on Windows")
|
||||
class TestSrvPolling(PyMongoTestCase):
|
||||
BASE_SRV_RESPONSE = [
|
||||
("localhost.test.build.10gen.cc", 27017),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user