Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

fix(transport): make close listener test more resilient #21

Merged
merged 1 commit into from
Jan 21, 2020

Conversation

jacobheun
Copy link
Contributor

This makes the listener test a bit more resilient by waiting for both listener side connections to be fully established before executing the close. The current setTimeout of 0 isn't sufficient for slower connection establishment (like webrtc signaling).

Copy link
Member

@alanshaw alanshaw left a comment

Choose a reason for hiding this comment

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

LGTM

@jacobheun jacobheun merged commit 2de533e into master Jan 21, 2020
@jacobheun jacobheun deleted the test/transport branch January 21, 2020 15:06
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