diff options
Diffstat (limited to 'server/tests/api/videos/video-transcoder.ts')
-rw-r--r-- | server/tests/api/videos/video-transcoder.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/videos/video-transcoder.ts b/server/tests/api/videos/video-transcoder.ts index 37450eeeb..2465d2d89 100644 --- a/server/tests/api/videos/video-transcoder.ts +++ b/server/tests/api/videos/video-transcoder.ts | |||
@@ -9,11 +9,11 @@ import { | |||
9 | buildAbsoluteFixturePath, | 9 | buildAbsoluteFixturePath, |
10 | cleanupTests, | 10 | cleanupTests, |
11 | doubleFollow, | 11 | doubleFollow, |
12 | flushAndRunMultipleServers, | 12 | createMultipleServers, |
13 | generateHighBitrateVideo, | 13 | generateHighBitrateVideo, |
14 | generateVideoWithFramerate, | 14 | generateVideoWithFramerate, |
15 | makeGetRequest, | 15 | makeGetRequest, |
16 | ServerInfo, | 16 | PeerTubeServer, |
17 | setAccessTokensToServers, | 17 | setAccessTokensToServers, |
18 | waitJobs, | 18 | waitJobs, |
19 | webtorrentAdd | 19 | webtorrentAdd |
@@ -31,7 +31,7 @@ import { | |||
31 | 31 | ||
32 | const expect = chai.expect | 32 | const expect = chai.expect |
33 | 33 | ||
34 | function updateConfigForTranscoding (server: ServerInfo) { | 34 | function updateConfigForTranscoding (server: PeerTubeServer) { |
35 | return server.config.updateCustomSubConfig({ | 35 | return server.config.updateCustomSubConfig({ |
36 | newConfig: { | 36 | newConfig: { |
37 | transcoding: { | 37 | transcoding: { |
@@ -56,14 +56,14 @@ function updateConfigForTranscoding (server: ServerInfo) { | |||
56 | } | 56 | } |
57 | 57 | ||
58 | describe('Test video transcoding', function () { | 58 | describe('Test video transcoding', function () { |
59 | let servers: ServerInfo[] = [] | 59 | let servers: PeerTubeServer[] = [] |
60 | let video4k: string | 60 | let video4k: string |
61 | 61 | ||
62 | before(async function () { | 62 | before(async function () { |
63 | this.timeout(30_000) | 63 | this.timeout(30_000) |
64 | 64 | ||
65 | // Run servers | 65 | // Run servers |
66 | servers = await flushAndRunMultipleServers(2) | 66 | servers = await createMultipleServers(2) |
67 | 67 | ||
68 | await setAccessTokensToServers(servers) | 68 | await setAccessTokensToServers(servers) |
69 | 69 | ||