Skip to content

Commit 3d7e671

Browse files
authored
Increase timeout test because of GitHub Action (#1351)
1 parent df8a6a4 commit 3d7e671

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/10.database.open.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ describe('new Database()', function () {
9999
expect(() => db.exec('BEGIN EXCLUSIVE')).to.throw(Database.SqliteError).with.property('code', 'SQLITE_BUSY');
100100
const end = Date.now();
101101
// GHA is slow: a 500ms timeout can take 1685ms to fail.
102-
expect(end - start).to.be.within(timeout - 1, timeout * 3 + 250);
102+
expect(end - start).to.be.within(timeout - 1, timeout * 3 + 300);
103103
} finally {
104104
db.close();
105105
}

0 commit comments

Comments
 (0)