From 69fbb70b791bd1481c38dd682003747de58c2d40 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Sat, 2 Sep 2023 14:04:53 -0500 Subject: [PATCH] updated test --- test/10.database.open.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/10.database.open.js b/test/10.database.open.js index 465088bfb..6fd339c53 100644 --- a/test/10.database.open.js +++ b/test/10.database.open.js @@ -91,7 +91,7 @@ describe('new Database()', function () { expect(fs.existsSync(util.current())).to.be.true; }); util.itUnix('should accept the "timeout" option', function () { - this.slow(4000); + this.slow(5000); const testTimeout = (timeout) => { const db = new Database(util.current(), { timeout }); try { @@ -106,7 +106,7 @@ describe('new Database()', function () { const blocker = this.db = new Database(util.next(), { timeout: 0x7fffffff }); blocker.exec('BEGIN EXCLUSIVE'); testTimeout(0); - testTimeout(1000); + testTimeout(400); blocker.close(); expect(() => (this.db = new Database(util.current(), { timeout: undefined }))).to.throw(TypeError); expect(() => (this.db = new Database(util.current(), { timeout: null }))).to.throw(TypeError);