Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Increate test timeout

Chocobozzzc543e414923a
diff --git a/server/tests/api/server/plugins.ts b/server/tests/api/server/plugins.ts
index 15c0937582..bb925a6240 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