Skip to content

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

Increase video import timeout

Chocobozzz13b6dc1f3437
diff --git a/server/tests/api/check-params/video-imports.ts b/server/tests/api/check-params/video-imports.ts
index 38ddd4e56f..5975985a17 100644
--- a/server/tests/api/check-params/video-imports.ts
+++ b/server/tests/api/check-params/video-imports.ts
@@ -246,7 +246,7 @@ describe('Test video imports API validator', function () {
})
it('Should succeed with the correct parameters', async function () {
- this.timeout(10000)
+ this.timeout(30000)
{
await makePostBodyRequest({
diff --git a/server/tests/api/server/tracker.ts b/server/tests/api/server/tracker.ts
index 5d61c1558a..856f2f4d10 100644
--- a/server/tests/api/server/tracker.ts
+++ b/server/tests/api/server/tracker.ts
@@ -1,7 +1,6 @@
/* tslint:disable:no-unused-expression */
import * as magnetUtil from 'magnet-uri'
-import * as chai from 'chai'
import 'mocha'
import { getVideo, killallServers, runServer, ServerInfo, uploadVideo } from '../../utils'
import { flushTests, setAccessTokensToServers } from '../../utils/index'