Skip to content

Commit c5bf1ab

Browse files
committed
Disable test_continuous_network_errors with debug logs
1 parent 6a0457f commit c5bf1ab

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1907,6 +1907,7 @@ async def test_direct_connection(self):
19071907
AsyncMongoClient(["host1", "host2"], directConnection=True)
19081908

19091909
@unittest.skipIf("PyPy" in sys.version, "PYTHON-2927 fails often on PyPy")
1910+
@skipIf(os.environ.get("DEBUG_LOG"), "Enabling debug logs breaks this test")
19101911
async def test_continuous_network_errors(self):
19111912
def server_description_count():
19121913
i = 0

test/test_client.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1864,6 +1864,7 @@ def test_direct_connection(self):
18641864
MongoClient(["host1", "host2"], directConnection=True)
18651865

18661866
@unittest.skipIf("PyPy" in sys.version, "PYTHON-2927 fails often on PyPy")
1867+
@skipIf(os.environ.get("DEBUG_LOG"), "Enabling debug logs breaks this test")
18671868
def test_continuous_network_errors(self):
18681869
def server_description_count():
18691870
i = 0

0 commit comments

Comments
 (0)