Skip to content

Commit

Permalink
Merge branch 'main' into dns_contention_logs
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiaspeters authored Feb 6, 2025
2 parents 4b5fb1f + 3c33fe2 commit 6a83867
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Empty file.
6 changes: 1 addition & 5 deletions nat-lab/tests/test_events.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,12 +186,8 @@ async def test_event_content_meshnet(

await client_alpha.set_meshnet_config(api.get_meshnet_config(alpha.id))

# Telio and NatLab both have a sampling rate of 1 second.
# As a result, in the worst case, an event could be delayed by up
# to 2seconds. So 2 second is the minimum amount of time. Still
# the ping might not come within 2 seconds if there's latency.
await client_alpha.wait_for_state_peer(
beta.public_key, [NodeState.DISCONNECTED], [PathType.DIRECT], timeout=5
beta.public_key, [NodeState.DISCONNECTED], [PathType.DIRECT]
)

with pytest.raises(asyncio.TimeoutError):
Expand Down

0 comments on commit 6a83867

Please sign in to comment.