From fa7f5d0ecde50c176e88fc15caabc0977470e37f Mon Sep 17 00:00:00 2001 From: Jacob Heun Date: Fri, 27 Jul 2018 17:15:51 +0200 Subject: [PATCH] test: up timeouts for ci --- test/core/libp2p.spec.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/core/libp2p.spec.js b/test/core/libp2p.spec.js index 5d37154dd9..f883c017e9 100644 --- a/test/core/libp2p.spec.js +++ b/test/core/libp2p.spec.js @@ -16,15 +16,16 @@ const Libp2p = require('libp2p') const libp2pComponent = require('../../src/core/components/libp2p') -describe('libp2p customization', () => { +describe('libp2p customization', function () { + // Provide some extra time for ci since we're starting libp2p nodes in each test + this.timeout = 15 * 1000 + let peerInfo let peerBook let mockConfig let _libp2p - before(function (done) { - this.timeout = 10 * 1000 - + before((done) => { mockConfig = { get: (callback) => { callback(null, {