From 4ed15ddfc3d004afd9e9bcf0d0c8f2eb082f2d5f Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 19 May 2015 14:40:39 -0400 Subject: [PATCH] Increase resetDB test timeout to 45 seconds It takes <1.5 seconds on my system, but it's taking over 30 seconds on Travis. Might not be worth running it there, since almost anything that would cause that to fail would cause the initialization to fail in the first place. --- test/tests/support.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/tests/support.js b/test/tests/support.js index da690c68f8..723315340a 100644 --- a/test/tests/support.js +++ b/test/tests/support.js @@ -1,7 +1,7 @@ describe("Support Functions for Unit Testing", function() { describe("resetDB", function() { it("should restore the DB to factory settings", function* () { - this.timeout(30000); + this.timeout(45000); yield Zotero.Items.erase(1); assert.isFalse(yield Zotero.Items.getAsync(1)); yield resetDB();