From 7b7f8c1592bfc74a5846066a47f239af9de7497c Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 5 Aug 2022 15:35:29 +0100 Subject: [PATCH] Increase timeout to try & avoid flakiness in queueToDevice test (#2565) https://github.com/matrix-org/matrix-js-sdk/issues/2561 --- spec/unit/queueToDevice.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/unit/queueToDevice.spec.ts b/spec/unit/queueToDevice.spec.ts index 02c39bb1c..a1ae2bcfe 100644 --- a/spec/unit/queueToDevice.spec.ts +++ b/spec/unit/queueToDevice.spec.ts @@ -244,7 +244,8 @@ describe.each([ client.retryImmediately(); - expect(await httpBackend.flush(null, 1, 20)).toEqual(1); + // longer timeout here to try & avoid flakiness + expect(await httpBackend.flush(null, 1, 3000)).toEqual(1); }); it("retries on when client is started", async function() {