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

tests: Increase .dht .query timeout #238

Merged
merged 1 commit into from
Mar 14, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion js/src/dht.js
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ module.exports = (common) => {
})

describe('.query', () => {
it('returns the other node in the query', (done) => {
it('returns the other node in the query', function (done) {
this.timeout(150 * 1000)
nodeA.dht.query(nodeC.peerId.id, (err, peers) => {
expect(err).to.not.exist()
expect(peers.map((p) => p.ID)).to.include(nodeC.peerId.id)
Expand Down