From 7ec7344b749b17c26cc93fbcafabf7f60f107879 Mon Sep 17 00:00:00 2001 From: Szymon Szlachtowicz <38212223+Szymx95@users.noreply.github.com> Date: Fri, 15 Oct 2021 14:46:10 +0200 Subject: [PATCH] Fix tests timeout (#77) --- packages/status-communities/src/messenger.spec.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/status-communities/src/messenger.spec.ts b/packages/status-communities/src/messenger.spec.ts index 2d15495a..fcaae7bb 100644 --- a/packages/status-communities/src/messenger.spec.ts +++ b/packages/status-communities/src/messenger.spec.ts @@ -18,7 +18,7 @@ describe("Messenger", () => { let identityBob: Identity; beforeEach(async function () { - this.timeout(10_000); + this.timeout(20_000); dbg("Generate keys"); identityAlice = Identity.generate(); @@ -27,8 +27,9 @@ describe("Messenger", () => { dbg("Create messengers"); [messengerAlice, messengerBob] = await Promise.all([ - Messenger.create(identityAlice), + Messenger.create(identityAlice, { bootstrap: false }), Messenger.create(identityBob, { + bootstrap: false, libp2p: { addresses: { listen: ["/ip4/0.0.0.0/tcp/0/ws"] } }, }), ]);