-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`event_recorder` listens for events globally rather than per-connection so it's possible for `connection_closed` and other events from prior test cases to be captured and mixed with the events the test is interested in, causing a flake. Instead we can assert that the events we gather from `event_recorder` contain the ones emitted by the connection.
- Loading branch information
1 parent
1c4af0c
commit 3435a0d
Showing
1 changed file
with
39 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters