commit dbd81528d3ab0546afbb9e7e0db47102be62c1df
parent c310c59d329caedcea71fd8e4de1ab68312a7098
Author: Dan Stillman <dstillman@zotero.org>
Date: Thu, 25 Aug 2016 12:41:18 -0400
Fix another intermittent test failure from translator initialization
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/test/tests/translateTest.js b/test/tests/translateTest.js
@@ -151,6 +151,10 @@ function setupAttachmentEndpoints() {
describe("Zotero.Translate", function() {
let win;
before(function* () {
+ // TEMP: Fix for slow translator initialization on Linux/Travis
+ this.timeout(20000);
+ yield Zotero.Translators.init();
+
setupAttachmentEndpoints();
win = yield loadBrowserWindow();
});