From 114bd3c49587e83b5f67374322ca0b4a65facc4c Mon Sep 17 00:00:00 2001 From: Martynas Bagdonas Date: Mon, 30 Jun 2025 22:29:08 +0300 Subject: [PATCH] Increase reader initialization wait time to reduce test failures in CI --- chrome/content/zotero/xpcom/reader.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chrome/content/zotero/xpcom/reader.js b/chrome/content/zotero/xpcom/reader.js index 479abe1b0b..90fed85c08 100644 --- a/chrome/content/zotero/xpcom/reader.js +++ b/chrome/content/zotero/xpcom/reader.js @@ -1357,7 +1357,7 @@ class ReaderInstance { } let n = 0; while (!this._iframeWindow) { - if (n >= 500) { + if (n >= 1000) { throw new Error('Waiting for reader failed'); } await Zotero.Promise.delay(10);