We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b42163 commit 59b6b14Copy full SHA for 59b6b14
tests/aws/services/sqs/test_sqs_backdoor.py
@@ -471,15 +471,15 @@ def _send_message():
471
472
Timer(25, _send_message).start() # send message asynchronously after 25 seconds
473
474
- start_t = time.time()
+ start_t = time.perf_counter()
475
response = sqs_client.receive_message(
476
QueueUrl=queue_url,
477
VisibilityTimeout=30,
478
MaxNumberOfMessages=MAX_NUMBER_OF_MESSAGES,
479
WaitTimeSeconds=override_message_wait_time_seconds,
480
AttributeNames=["All"],
481
)
482
- assert time.time() - start_t >= 25
+ assert time.perf_counter() - start_t >= 25
483
484
messages = response.get("Messages", [])
485
assert len(messages) == 10
0 commit comments