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

Harden DHT tests #239

Merged
merged 2 commits into from
Mar 16, 2018
Merged

Harden DHT tests #239

merged 2 commits into from
Mar 16, 2018

Conversation

vmx
Copy link
Contributor

@vmx vmx commented Mar 16, 2018

This should make the tests not fail anymore. The number of nodes was increased so they should pass more often. Before the timeout is reached, the test is skipped. This means that it won't fail even if go-ipfs takes a long time/hangs.

vmx added 2 commits March 16, 2018 15:16
The DHT doesn't work well with a low number of peers (the more
the better). Hence increase it to 5 peers. This should make
the test more reliable.
The DHT works best with >- 20 nodes, this means that the tests
might fail (but it passes most of the time). Hence skip the query
test before the timeout is reached.
@vmx vmx requested review from victorb, daviddias and Kubuxu March 16, 2018 14:18
@ghost ghost assigned vmx Mar 16, 2018
@ghost ghost added the in progress label Mar 16, 2018
@daviddias daviddias merged commit e1bf63e into master Mar 16, 2018
@ghost ghost removed the in progress label Mar 16, 2018
@daviddias daviddias deleted the harden-dht-tests branch March 16, 2018 15:58
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