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

test: dht #7

Merged
merged 3 commits into from
Mar 29, 2019
Merged

test: dht #7

merged 3 commits into from
Mar 29, 2019

Conversation

vasco-santos
Copy link
Member

@vasco-santos vasco-santos commented Mar 7, 2019

Added interop tests for dht regarding:

  • content-routing
  • content-fetching
  • peer-routing

Needs:

@ghost ghost assigned vasco-santos Mar 7, 2019
@ghost ghost added the status/in-progress In progress label Mar 7, 2019
@vasco-santos vasco-santos force-pushed the test/dht branch 2 times, most recently from c14b887 to dc0898a Compare March 25, 2019 18:39
@vasco-santos vasco-santos force-pushed the test/dht branch 5 times, most recently from 3b5c9f2 to 280fdfb Compare March 29, 2019 10:07
@vasco-santos
Copy link
Member Author

As discussed with @jacobheun and @bigs , we will move forward with this PR skipping the content fetching tests for now, as they are blocked by libp2p/go-libp2p-daemon#81 / libp2p/go-libp2p-daemon#63. I will create an issue for tracking this once this is merged

@vasco-santos vasco-santos requested review from mvid and jacobheun March 29, 2019 10:16
Copy link
Contributor

@jacobheun jacobheun left a comment

Choose a reason for hiding this comment

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

Just some minor feedback around removing unneeded timeouts.

})

it('go peer to go peer', async function () {
this.timeout(30 * 1000)
Copy link
Contributor

Choose a reason for hiding this comment

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

We should drop all these timeouts in the content routing. CI is showing sub 1 second test runs, so the standard timeout should be more than fine. This will just make testing take longer when things aren't behaving properly.

})

it('go peer to go peer', async function () {
this.timeout(10 * 1000)
Copy link
Contributor

Choose a reason for hiding this comment

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

peer routing tests also show well under 5seconds, we should be able to drop the timeouts in all the peer routing tests.

@vasco-santos vasco-santos merged commit bfd97d5 into master Mar 29, 2019
@vasco-santos vasco-santos deleted the test/dht branch March 29, 2019 15:36
@ghost ghost removed the status/in-progress In progress label Mar 29, 2019
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