From c543e414923aeefea73f96eae7d6d816f8887823 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 9 Aug 2022 11:24:08 +0200 Subject: [PATCH] Increate test timeout --- server/tests/api/server/plugins.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts index 15c093758..bb925a624 100644 --- a/server/tests/api/server/plugins.ts +++ b/server/tests/api/server/plugins.ts @@ -353,7 +353,7 @@ describe('Test plugins', function () { }) it('Should rebuild native modules on Node ABI change', async function () { - this.timeout(50000) + this.timeout(60000) const removeNativeModule = async () => { await remove(join(baseNativeModule, 'build')) @@ -377,6 +377,8 @@ describe('Test plugins', function () { await server.kill() await server.run() + await wait(3000) + expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true -- 2.41.0