From cf0cf858cfaa32b32937e88253905f34c21d4f6b Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Mon, 26 Jun 2023 13:18:18 +0100 Subject: [PATCH] Increase another crypto test timeout Followup to https://github.com/matrix-org/matrix-js-sdk/pull/3500: increase the timeout for another test which is also timing out. --- spec/unit/rust-crypto/rust-crypto.spec.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/spec/unit/rust-crypto/rust-crypto.spec.ts b/spec/unit/rust-crypto/rust-crypto.spec.ts index 08bc5e397f6..e7a0a53c7c7 100644 --- a/spec/unit/rust-crypto/rust-crypto.spec.ts +++ b/spec/unit/rust-crypto/rust-crypto.spec.ts @@ -54,9 +54,13 @@ describe("RustCrypto", () => { describe(".importRoomKeys and .exportRoomKeys", () => { let rustCrypto: RustCrypto; - beforeEach(async () => { - rustCrypto = await makeTestRustCrypto(); - }); + beforeEach( + async () => { + rustCrypto = await makeTestRustCrypto(); + }, + /* it can take a while to initialise the crypto library on the first pass, so bump up the timeout. */ + 10000, + ); it("should import and export keys", async () => { const someRoomKeys = [