aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-14 11:40:14 +0200
committerChocobozzz <me@florianbigard.com>2018-08-14 11:40:14 +0200
commit13b6dc1f3437560c55a5dfc3a94a2b162654e5c9 (patch)
tree93fedd387c0202e99d091d5e574118bb6e041501 /server/tests/api
parentcc43831a90ab8b1b460cd7021c100190049ec64b (diff)
downloadPeerTube-13b6dc1f3437560c55a5dfc3a94a2b162654e5c9.tar.gz
PeerTube-13b6dc1f3437560c55a5dfc3a94a2b162654e5c9.tar.zst
PeerTube-13b6dc1f3437560c55a5dfc3a94a2b162654e5c9.zip
Increase video import timeout
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/check-params/video-imports.ts2
-rw-r--r--server/tests/api/server/tracker.ts1
2 files changed, 1 insertions, 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 () {
246 }) 246 })
247 247
248 it('Should succeed with the correct parameters', async function () { 248 it('Should succeed with the correct parameters', async function () {
249 this.timeout(10000) 249 this.timeout(30000)
250 250
251 { 251 {
252 await makePostBodyRequest({ 252 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 @@
1/* tslint:disable:no-unused-expression */ 1/* tslint:disable:no-unused-expression */
2 2
3import * as magnetUtil from 'magnet-uri' 3import * as magnetUtil from 'magnet-uri'
4import * as chai from 'chai'
5import 'mocha' 4import 'mocha'
6import { getVideo, killallServers, runServer, ServerInfo, uploadVideo } from '../../utils' 5import { getVideo, killallServers, runServer, ServerInfo, uploadVideo } from '../../utils'
7import { flushTests, setAccessTokensToServers } from '../../utils/index' 6import { flushTests, setAccessTokensToServers } from '../../utils/index'