Skip to content

Commit

Permalink
Fix Test.Sanity.Disconnect
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
edsko committed Oct 26, 2024
1 parent 638ec3e commit e4d1c74
Showing 1 changed file with 216 additions and 123 deletions.
Loading

0 comments on commit e4d1c74

Please sign in to comment.