Skip to content

Commit 1333881

Browse files
committed
fix prose test
1 parent 4ba159c commit 1333881

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/test_client_backpressure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ async def asyncSetUp(self) -> None:
5151
)
5252

5353
@patch("random.random")
54+
@async_client_context.require_failCommand_appName
5455
async def test_01_operation_retry_uses_exponential_backoff(self, random_func):
5556
# Drivers should test that retries do not occur immediately when a SystemOverloadedError is encountered.
5657

test/test_client_backpressure.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ def setUp(self) -> None:
5151
)
5252

5353
@patch("random.random")
54+
@client_context.require_failCommand_appName
5455
def test_01_operation_retry_uses_exponential_backoff(self, random_func):
5556
# Drivers should test that retries do not occur immediately when a SystemOverloadedError is encountered.
5657

0 commit comments

Comments
 (0)