Skip to content

Commit

Permalink
Increase another crypto test timeout (#3509)
Browse files Browse the repository at this point in the history
Followup to #3500: increase the
timeout for another test which is also timing out.
  • Loading branch information
richvdh authored Jun 27, 2023
1 parent 9de4a05 commit 4382d2a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions spec/unit/rust-crypto/rust-crypto.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 4382d2a

Please sign in to comment.