Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop hangs in testing #408

Merged
merged 2 commits into from
Mar 31, 2022
Merged

Stop hangs in testing #408

merged 2 commits into from
Mar 31, 2022

Conversation

dkfellows
Copy link
Member

Whenever I ran the tests locally, things would hang. It turns out the hang was because I was passing in null for a timeout in tests, which was being interpreted as 231-1 milliseconds (a very long time) yet the test was running in an environment where routing to the listening port was broken. That's awful, so this changes the timeout to be explicitly 10 seconds (and skips the test if that happens).

Note that the hang doesn't happen when the tests run here on Github.

@dkfellows dkfellows added bug Something isn't working minor Low priority labels Jan 24, 2022
@dkfellows dkfellows added this to the 7.0.0 milestone Jan 24, 2022
@dkfellows dkfellows requested a review from Christian-B January 24, 2022 16:13
@dkfellows dkfellows merged commit bb43446 into master Mar 31, 2022
@dkfellows dkfellows deleted the stop-hangs branch March 31, 2022 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working minor Low priority
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant