From 1765cdd54f2d7a7d82dad4c6c4b9c3b36532baf2 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Wed, 14 Mar 2018 11:47:48 +0100 Subject: [PATCH] tests: Increase .dht .query timeout Without increasing the timeout this test fails on Jenkins way too often. --- js/src/dht.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/src/dht.js b/js/src/dht.js index 06af6e920..5b9806933 100644 --- a/js/src/dht.js +++ b/js/src/dht.js @@ -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)