From: Chocobozzz Date: Tue, 9 Aug 2022 09:24:08 +0000 (+0200) Subject: Increate test timeout X-Git-Tag: v4.3.0-rc.1~219 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=c543e414923aeefea73f96eae7d6d816f8887823;p=github%2FChocobozzz%2FPeerTube.git Increate test timeout --- 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