Skip to content

Commit 7668b20

Browse files
committed
attempt to fix failures
1 parent fcf872a commit 7668b20

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

test/asynchronous/test_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,8 +1461,8 @@ async def test_command_cursor_to_list_csot_applied(self):
14611461
client = await async_single_client(timeoutMS=1000)
14621462
fail_command = {
14631463
"configureFailPoint": "failCommand",
1464-
"mode": {"times": 2},
1465-
"data": {"failCommands": ["aggregate"], "blockConnection": True, "blockTimeMS": 10000},
1464+
"mode": {"times": 1},
1465+
"data": {"failCommands": ["aggregate"], "blockTimeMS": 10000},
14661466
}
14671467
cursor = await client.db.test.aggregate([{"$changeStream": {}}])
14681468
async with self.fail_point(fail_command):

test/test_cursor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1452,8 +1452,8 @@ def test_command_cursor_to_list_csot_applied(self):
14521452
client = single_client(timeoutMS=1000)
14531453
fail_command = {
14541454
"configureFailPoint": "failCommand",
1455-
"mode": {"times": 2},
1456-
"data": {"failCommands": ["aggregate"], "blockConnection": True, "blockTimeMS": 10000},
1455+
"mode": {"times": 1},
1456+
"data": {"failCommands": ["aggregate"], "blockTimeMS": 10000},
14571457
}
14581458
cursor = client.db.test.aggregate([{"$changeStream": {}}])
14591459
with self.fail_point(fail_command):

0 commit comments

Comments
 (0)