aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/peertube-runner/vod-transcoding.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-19 13:33:27 +0200
committerChocobozzz <me@florianbigard.com>2023-05-19 13:33:27 +0200
commit6403a6bd019a30848f0e9b5f6e7b9734229ab0f1 (patch)
tree8fb162cdb5e42ee6bb5a11acedb88218b12aa200 /server/tests/peertube-runner/vod-transcoding.ts
parent30453cb5ba523020c488dfb7986a9848870393a5 (diff)
downloadPeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.gz
PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.tar.zst
PeerTube-6403a6bd019a30848f0e9b5f6e7b9734229ab0f1.zip
peertube runner tests in parallel
Diffstat (limited to 'server/tests/peertube-runner/vod-transcoding.ts')
-rw-r--r--server/tests/peertube-runner/vod-transcoding.ts6
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