Skip to content

Commit c8b652b

Browse files
committed
loosed tolerance for sleeps
1 parent 2ae7e65 commit c8b652b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/data/_async/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ async def test__manage_channel_sleeps(
446446
assert sleep.call_count == num_cycles
447447
total_sleep = sum([call[0][1] for call in sleep.call_args_list])
448448
assert (
449-
abs(total_sleep - expected_sleep) < 0.1
449+
abs(total_sleep - expected_sleep) < 0.5
450450
), f"refresh_interval={refresh_interval}, num_cycles={num_cycles}, expected_sleep={expected_sleep}"
451451
await client.close()
452452

0 commit comments

Comments
 (0)