Skip to content
This repository was archived by the owner on May 11, 2022. It is now read-only.

speed up the tests #119

Merged
merged 1 commit into from
Dec 21, 2021
Merged

speed up the tests #119

merged 1 commit into from
Dec 21, 2021

Conversation

marten-seemann
Copy link
Contributor

This reduces the execution time of the test to roughly 1/2.

@marten-seemann
Copy link
Contributor Author

Looks like this is needed to make #120 pass. Without this fix, there's another race: because the test case is sleeping for 2s, this might coincide with the second AutoNAT probe, and the stream might get close by the host shutting down, which would make the test case fail.

@marten-seemann marten-seemann mentioned this pull request Dec 21, 2021
Copy link
Contributor

@vyzo vyzo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yikes.

@marten-seemann marten-seemann merged commit 0b6cfe0 into master Dec 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants