From dea4a47b6946c10883d751e1a9448b90a1750c7b Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 27 Aug 2021 17:12:28 -0400 Subject: [PATCH] Make Zotero.HTTP retry test a bit more robust --- test/tests/httpTest.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/tests/httpTest.js b/test/tests/httpTest.js index 84a7e4e066..10d0cb63f2 100644 --- a/test/tests/httpTest.js +++ b/test/tests/httpTest.js @@ -181,13 +181,13 @@ describe("Zotero.HTTP", function () { spy = sinon.spy(Zotero.HTTP, "_requestInternal"); setTimeout(() => { cancel(); - }, 80); + }, 300); var e = await getPromiseError( Zotero.HTTP.request( "GET", baseURL + "error", { - errorDelayIntervals: [10, 10, 150], + errorDelayIntervals: [10, 10, 600], cancellerReceiver: function () { cancel = arguments[0]; }