Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Conversation

@alanshaw
Copy link
Contributor

This PR simply changes the ping tests to wait for the two nodes to be connected before starting.

We poll swarm.peers every second to check for connectivity and times out after 30s. It means we can distinguish between actual test failures and connectivity problems in the tests.

alanshaw added 3 commits May 16, 2018 21:11
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
License: MIT
Signed-off-by: Alan Shaw <alan@tableflip.io>
@ghost ghost assigned alanshaw May 17, 2018
@ghost ghost added the in progress label May 17, 2018
@alanshaw alanshaw changed the title fix: wait until nodes are connected before starting ping tests fix(ping): wait until nodes are connected before starting ping tests May 17, 2018
@alanshaw alanshaw requested a review from daviddias May 17, 2018 12:50
Copy link
Contributor

@daviddias daviddias left a comment

Choose a reason for hiding this comment

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

👌🏽

@alanshaw alanshaw merged commit 1e864fc into master May 17, 2018
@alanshaw alanshaw deleted the fix/wait-until-connected branch May 17, 2018 16:06
@ghost ghost removed the in progress label May 17, 2018
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.

3 participants