Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Make flakey test more permissive #1212

Merged
merged 1 commit into from Oct 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/p2p/test_token_bucket.py
Expand Up @@ -35,9 +35,9 @@ async def test_token_bucket_initial_tokens():
# since the bucket starts out full the loop
# should take near zero time
expected = await measure_zero(10)
# drift is allowed to be up to 200% since we're working with very small
# drift is allowed to be up to 1000% since we're working with very small
# numbers.
assert_fuzzy_equal(delta, expected, allowed_drift=2)
assert_fuzzy_equal(delta, expected, allowed_drift=10)


@pytest.mark.asyncio
Expand Down