aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli/create-transcoding-job.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/cli/create-transcoding-job.ts')
-rw-r--r--server/tests/cli/create-transcoding-job.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/cli/create-transcoding-job.ts b/server/tests/cli/create-transcoding-job.ts
index c9bbab802..53f187f90 100644
--- a/server/tests/cli/create-transcoding-job.ts
+++ b/server/tests/cli/create-transcoding-job.ts
@@ -5,8 +5,8 @@ import * as chai from 'chai'
5import { 5import {
6 cleanupTests, 6 cleanupTests,
7 doubleFollow, 7 doubleFollow,
8 flushAndRunMultipleServers, 8 createMultipleServers,
9 ServerInfo, 9 PeerTubeServer,
10 setAccessTokensToServers, 10 setAccessTokensToServers,
11 waitJobs 11 waitJobs
12} from '../../../shared/extra-utils' 12} from '../../../shared/extra-utils'
@@ -14,7 +14,7 @@ import {
14const expect = chai.expect 14const expect = chai.expect
15 15
16describe('Test create transcoding jobs', function () { 16describe('Test create transcoding jobs', function () {
17 let servers: ServerInfo[] = [] 17 let servers: PeerTubeServer[] = []
18 const videosUUID: string[] = [] 18 const videosUUID: string[] = []
19 19
20 const config = { 20 const config = {
@@ -39,7 +39,7 @@ describe('Test create transcoding jobs', function () {
39 this.timeout(60000) 39 this.timeout(60000)
40 40
41 // Run server 2 to have transcoding enabled 41 // Run server 2 to have transcoding enabled
42 servers = await flushAndRunMultipleServers(2) 42 servers = await createMultipleServers(2)
43 await setAccessTokensToServers(servers) 43 await setAccessTokensToServers(servers)
44 44
45 await servers[0].config.updateCustomSubConfig({ newConfig: config }) 45 await servers[0].config.updateCustomSubConfig({ newConfig: config })