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

Update deps and fix non deterministic browser test #252

Merged
merged 3 commits into from
Sep 24, 2018

Conversation

jacobheun
Copy link
Contributor

The webrtc browser tests were not properly checking for the expected peer, just a number of connections, and were trying to do so based on an order of peer discovery events. If other peers on the jenkins network connect to the discovery service, this will make the tests fail.

The tests now check for connections with the expected peer id and complete the test once it's present. Due to this, the timeout is also not needed, as the discovery happens within a few hundred ms.

@ghost ghost assigned jacobheun Sep 24, 2018
@ghost ghost added the status/in-progress In progress label Sep 24, 2018
Copy link
Member

@vasco-santos vasco-santos left a comment

Choose a reason for hiding this comment

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

Nicee! Seems good to me 👍

@jacobheun jacobheun merged commit 7e6c9ee into master Sep 24, 2018
@jacobheun jacobheun deleted the chore/update-deps branch September 24, 2018 15:24
@ghost ghost removed the status/in-progress In progress label Sep 24, 2018
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
maschad pushed a commit to maschad/js-libp2p that referenced this pull request Jun 21, 2023
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.

2 participants