Increase resetDB() timeout to 60s, though this seems untenable
Still failing intermittently on Travis at 45s, though other times it takes 13 seconds.
This commit is contained in:
parent
f4446e268d
commit
260a638dfb
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
describe("Support Functions for Unit Testing", function() {
|
describe("Support Functions for Unit Testing", function() {
|
||||||
describe("resetDB", function() {
|
describe("resetDB", function() {
|
||||||
it("should restore the DB to factory settings", function* () {
|
it("should restore the DB to factory settings", function* () {
|
||||||
this.timeout(45000);
|
this.timeout(60000);
|
||||||
yield Zotero.Items.erase(1);
|
yield Zotero.Items.erase(1);
|
||||||
assert.isFalse(yield Zotero.Items.getAsync(1));
|
assert.isFalse(yield Zotero.Items.getAsync(1));
|
||||||
yield resetDB();
|
yield resetDB();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue