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

chore: increase ping timeouts #400

Merged
merged 2 commits into from
Nov 29, 2018
Merged

chore: increase ping timeouts #400

merged 2 commits into from
Nov 29, 2018

Conversation

alanshaw
Copy link
Contributor

This takes around 15s locally and can take significantly longer in CI.

screenshot 2018-11-27 at 13 37 41

This takes around 15s locally and can take significantly longer in CI.

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@ghost ghost assigned alanshaw Nov 27, 2018
@ghost ghost added the in progress label Nov 27, 2018
@hugomrdias
Copy link
Contributor

shouldn't we try to improve the code instead of just increasing the mocha timeout ? This shouldn't take this long right 2 * 60 * 1000?

@alanshaw
Copy link
Contributor Author

The screenshot above is from js-ipfs-api talking to a go-ipfs node. Most of the time it takes ~15s but occasionally it takes >1min in CI. I'll open an issue on the go-ipfs repo.

@alanshaw
Copy link
Contributor Author

ipfs/kubo#5799

License: MIT
Signed-off-by: Alan Shaw <alan.shaw@protocol.ai>
@alanshaw
Copy link
Contributor Author

@hugomrdias I've added comments with link to the issue. I'm going to merge this so that our ping tests become more reliable and we can revisit when the issue is resolved.

@alanshaw alanshaw merged commit 0d7b447 into master Nov 29, 2018
@ghost ghost removed the in progress label Nov 29, 2018
@alanshaw alanshaw deleted the chore/big-ping branch November 29, 2018 09:24
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