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

Commit a45e8aa

Browse files
vmxdaviddias
authored andcommitted
tests: Increase .dht .query timeout
Without increasing the timeout this test fails on Jenkins way too often.
1 parent 40d8c78 commit a45e8aa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/src/dht.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,8 @@ module.exports = (common) => {
153153
})
154154

155155
describe('.query', () => {
156-
it('returns the other node in the query', (done) => {
156+
it('returns the other node in the query', function (done) {
157+
this.timeout(150 * 1000)
157158
nodeA.dht.query(nodeC.peerId.id, (err, peers) => {
158159
expect(err).to.not.exist()
159160
expect(peers.map((p) => p.ID)).to.include(nodeC.peerId.id)

0 commit comments

Comments
 (0)