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.
This commit is contained in:
parent
f74d591883
commit
4ed15ddfc3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue
Block a user