From 13b6dc1f3437560c55a5dfc3a94a2b162654e5c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 Aug 2018 11:40:14 +0200 Subject: [PATCH] Increase video import timeout --- server/tests/api/check-params/video-imports.ts | 2 +- server/tests/api/server/tracker.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/tests/api/check-params/video-imports.ts b/server/tests/api/check-params/video-imports.ts index 38ddd4e56..5975985a1 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 5d61c1558..856f2f4d1 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'