www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit c310c59d329caedcea71fd8e4de1ab68312a7098
parent bdec4b119fa116bc078a207b6030cb22cbed5435
Author: Dan Stillman <dstillman@zotero.org>
Date:   Thu, 25 Aug 2016 12:37:51 -0400

Fix test failures on Linux due to slow translator initialization

Not sure why translator initialization is so slow on Linux, but this is
a temporary fix. More of these are probably needed.

Diffstat:
Mtest/tests/feedItemTest.js | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/test/tests/feedItemTest.js b/test/tests/feedItemTest.js @@ -229,6 +229,10 @@ describe("Zotero.FeedItem", function () { var win; before(function* () { + // TEMP: Fix for slow translator initialization on Linux/Travis + this.timeout(20000); + yield Zotero.Translators.init(); + // Needs an open window to be able to create a hidden window for translation win = yield loadBrowserWindow(); });