diff options
Diffstat (limited to 'server/tests/peertube-runner/vod-transcoding.ts')
-rw-r--r-- | server/tests/peertube-runner/vod-transcoding.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/peertube-runner/vod-transcoding.ts b/server/tests/peertube-runner/vod-transcoding.ts index d7e2df095..02d839339 100644 --- a/server/tests/peertube-runner/vod-transcoding.ts +++ b/server/tests/peertube-runner/vod-transcoding.ts | |||
@@ -249,9 +249,9 @@ describe('Test VOD transcoding in peertube-runner program', function () { | |||
249 | 249 | ||
250 | const registrationToken = await servers[0].runnerRegistrationTokens.getFirstRegistrationToken() | 250 | const registrationToken = await servers[0].runnerRegistrationTokens.getFirstRegistrationToken() |
251 | 251 | ||
252 | peertubeRunner = new PeerTubeRunnerProcess() | 252 | peertubeRunner = new PeerTubeRunnerProcess(servers[0]) |
253 | await peertubeRunner.runServer() | 253 | await peertubeRunner.runServer() |
254 | await peertubeRunner.registerPeerTubeInstance({ server: servers[0], registrationToken, runnerName: 'runner' }) | 254 | await peertubeRunner.registerPeerTubeInstance({ registrationToken, runnerName: 'runner' }) |
255 | }) | 255 | }) |
256 | 256 | ||
257 | describe('With videos on local filesystem storage', function () { | 257 | describe('With videos on local filesystem storage', function () { |
@@ -335,7 +335,7 @@ describe('Test VOD transcoding in peertube-runner program', function () { | |||
335 | 335 | ||
336 | after(async function () { | 336 | after(async function () { |
337 | if (peertubeRunner) { | 337 | if (peertubeRunner) { |
338 | await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) | 338 | await peertubeRunner.unregisterPeerTubeInstance() |
339 | peertubeRunner.kill() | 339 | peertubeRunner.kill() |
340 | } | 340 | } |
341 | 341 | ||