From baa9129fa56fb8dece5c8d0ad93ba439dbc1d325 Mon Sep 17 00:00:00 2001 From: David Teller Date: Mon, 24 Jan 2022 15:53:39 +0100 Subject: [PATCH] =?UTF-8?q?[CI]=20We=20need=20to=20wait=20until=20Mj=C3=B6?= =?UTF-8?q?lnir's=20start=20is=20complete=20before=20proceeding=20with=20t?= =?UTF-8?q?ests.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Hopefully, this should fix the (latest) race conditions we've been seeing during CI. --- test/integration/fixtures.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/fixtures.ts b/test/integration/fixtures.ts index 5fe3347..4eaf155 100644 --- a/test/integration/fixtures.ts +++ b/test/integration/fixtures.ts @@ -13,7 +13,7 @@ export const mochaHooks = { this.managementRoomAlias = config.managementRoom; this.mjolnir = await makeMjolnir(); config.RUNTIME.client = this.mjolnir.client; - this.mjolnir.start(); + await this.mjolnir.start(); console.log("mochaHooks.beforeEach DONE"); } ],