www

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

commit 4ed15ddfc3d004afd9e9bcf0d0c8f2eb082f2d5f
parent f74d591883211ba827d2298113db28fc4a7f433d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 19 May 2015 14:40:39 -0400

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.

Diffstat:
Mtest/tests/support.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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();