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

Fix Test.Sanity.Disconnect #255

Merged
merged 1 commit into from
Oct 26, 2024
Merged

Fix Test.Sanity.Disconnect #255

merged 1 commit into from
Oct 26, 2024

Conversation

edsko
Copy link
Collaborator

@edsko edsko commented Oct 26, 2024

The test was flaky: if the server was killed too early, we might not get to see the number of disconnects we were expecting. This significantly refactors the tests to be much more precise; I cannot reproduce any test failures now.

This also fixes an unrelated bug in echoHandler, which was installing a new exception handler on each loop iteration.

Closes #248.

The test was flaky: if the server was killed too early, we might not get to see
the number of disconnects we were expecting. This significantly refactors the
tests to be much more precise; I cannot reproduce any test failures now.

This also fixes an unrelated bug in `echoHandler`, which was installing a new
exception handler on each loop iteration.

Closes #248.
@edsko edsko merged commit cbd8fcc into main Oct 26, 2024
6 checks passed
@edsko edsko deleted the edsko/issue-248 branch October 26, 2024 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disconnect test is flaky
1 participant