diff options
author | Chocobozzz <me@florianbigard.com> | 2022-08-09 11:24:08 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-08-09 11:24:08 +0200 |
commit | c543e414923aeefea73f96eae7d6d816f8887823 (patch) | |
tree | 960548255de52d4236216ee8910342babb454063 /server/tests | |
parent | e13db048c7d85d0c74d3225f8508712da3b6ccf0 (diff) | |
download | PeerTube-c543e414923aeefea73f96eae7d6d816f8887823.tar.gz PeerTube-c543e414923aeefea73f96eae7d6d816f8887823.tar.zst PeerTube-c543e414923aeefea73f96eae7d6d816f8887823.zip |
Increate test timeout
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/plugins.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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 () { | |||
353 | }) | 353 | }) |
354 | 354 | ||
355 | it('Should rebuild native modules on Node ABI change', async function () { | 355 | it('Should rebuild native modules on Node ABI change', async function () { |
356 | this.timeout(50000) | 356 | this.timeout(60000) |
357 | 357 | ||
358 | const removeNativeModule = async () => { | 358 | const removeNativeModule = async () => { |
359 | await remove(join(baseNativeModule, 'build')) | 359 | await remove(join(baseNativeModule, 'build')) |
@@ -377,6 +377,8 @@ describe('Test plugins', function () { | |||
377 | await server.kill() | 377 | await server.kill() |
378 | await server.run() | 378 | await server.run() |
379 | 379 | ||
380 | await wait(3000) | ||
381 | |||
380 | expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true | 382 | expect(await pathExists(join(baseNativeModule, 'build'))).to.be.true |
381 | expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true | 383 | expect(await pathExists(join(baseNativeModule, 'prebuilds'))).to.be.true |
382 | 384 | ||