Skip to content

Commit e7da55b

Browse files
committed
cleanup
1 parent 7e29849 commit e7da55b

File tree

5 files changed

+9
-10
lines changed

5 files changed

+9
-10
lines changed

test/asynchronous/test_csot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
class TestCSOT(AsyncIntegrationTest):
4545
RUN_ON_LOAD_BALANCER = True
4646

47-
@flaky
47+
@flaky # PYTHON-3522
4848
async def test_timeout_nested(self):
4949
coll = self.db.coll
5050
self.assertEqual(_csot.get_timeout(), None)
@@ -82,7 +82,7 @@ async def test_timeout_nested(self):
8282
self.assertEqual(_csot.get_rtt(), 0.0)
8383

8484
@async_client_context.require_change_streams
85-
@flaky
85+
@flaky # PYTHON-3522
8686
async def test_change_stream_can_resume_after_timeouts(self):
8787
coll = self.db.test
8888
await coll.insert_one({})

test/asynchronous/test_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ async def test_to_list_length(self):
14161416
docs = await c.to_list(3)
14171417
self.assertEqual(len(docs), 2)
14181418

1419-
@flaky
1419+
@flaky # PYTHON-3522
14201420
async def test_to_list_csot_applied(self):
14211421
client = await self.async_single_client(timeoutMS=500, w=1)
14221422
coll = client.pymongo.test
@@ -1458,7 +1458,7 @@ async def test_command_cursor_to_list_length(self):
14581458
self.assertEqual(len(await result.to_list(1)), 1)
14591459

14601460
@async_client_context.require_failCommand_blockConnection
1461-
@flaky
1461+
@flaky # PYTHON-3522
14621462
async def test_command_cursor_to_list_csot_applied(self):
14631463
client = await self.async_single_client(timeoutMS=500, w=1)
14641464
coll = client.pymongo.test

test/test_csot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
class TestCSOT(IntegrationTest):
4545
RUN_ON_LOAD_BALANCER = True
4646

47-
@flaky
47+
@flaky # PYTHON-3522
4848
def test_timeout_nested(self):
4949
coll = self.db.coll
5050
self.assertEqual(_csot.get_timeout(), None)
@@ -82,7 +82,7 @@ def test_timeout_nested(self):
8282
self.assertEqual(_csot.get_rtt(), 0.0)
8383

8484
@client_context.require_change_streams
85-
@flaky
85+
@flaky # PYTHON-3522
8686
def test_change_stream_can_resume_after_timeouts(self):
8787
coll = self.db.test
8888
coll.insert_one({})

test/test_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1407,7 +1407,7 @@ def test_to_list_length(self):
14071407
docs = c.to_list(3)
14081408
self.assertEqual(len(docs), 2)
14091409

1410-
@flaky
1410+
@flaky # PYTHON-3522
14111411
def test_to_list_csot_applied(self):
14121412
client = self.single_client(timeoutMS=500, w=1)
14131413
coll = client.pymongo.test
@@ -1449,7 +1449,7 @@ def test_command_cursor_to_list_length(self):
14491449
self.assertEqual(len(result.to_list(1)), 1)
14501450

14511451
@client_context.require_failCommand_blockConnection
1452-
@flaky
1452+
@flaky # PYTHON-3522
14531453
def test_command_cursor_to_list_csot_applied(self):
14541454
client = self.single_client(timeoutMS=500, w=1)
14551455
coll = client.pymongo.test

test/test_topology.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -750,8 +750,7 @@ def get_primary():
750750
class TestTopologyErrors(TopologyTest):
751751
# Errors when calling hello.
752752

753-
# PYTHON-5366
754-
@flaky
753+
@flaky # PYTHON-5366
755754
def test_pool_reset(self):
756755
# hello succeeds at first, then always raises socket error.
757756
hello_count = [0]

0 commit comments

Comments
 (0)