From f474a519dc08df47c96ead9e0216912582def4f7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 26 May 2023 09:03:50 +0200 Subject: Specify runner name when unregistering the runner --- server/tests/peertube-runner/client-cli.ts | 2 +- server/tests/peertube-runner/live-transcoding.ts | 2 +- server/tests/peertube-runner/studio-transcoding.ts | 2 +- server/tests/peertube-runner/vod-transcoding.ts | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/peertube-runner') diff --git a/server/tests/peertube-runner/client-cli.ts b/server/tests/peertube-runner/client-cli.ts index cc8136c4a..5cbdc4e77 100644 --- a/server/tests/peertube-runner/client-cli.ts +++ b/server/tests/peertube-runner/client-cli.ts @@ -53,7 +53,7 @@ describe('Test peertube-runner program client CLI', function () { }) it('Should unregister the PeerTube instance', async function () { - await peertubeRunner.unregisterPeerTubeInstance() + await peertubeRunner.unregisterPeerTubeInstance({ runnerName: 'my super runner' }) }) it('Should not have PeerTube instance listed', async function () { diff --git a/server/tests/peertube-runner/live-transcoding.ts b/server/tests/peertube-runner/live-transcoding.ts index c2ca1de96..4826c61f7 100644 --- a/server/tests/peertube-runner/live-transcoding.ts +++ b/server/tests/peertube-runner/live-transcoding.ts @@ -190,7 +190,7 @@ describe('Test Live transcoding in peertube-runner program', function () { after(async function () { if (peertubeRunner) { - await peertubeRunner.unregisterPeerTubeInstance() + await peertubeRunner.unregisterPeerTubeInstance({ runnerName: 'runner' }) peertubeRunner.kill() } diff --git a/server/tests/peertube-runner/studio-transcoding.ts b/server/tests/peertube-runner/studio-transcoding.ts index 69b38a536..988201947 100644 --- a/server/tests/peertube-runner/studio-transcoding.ts +++ b/server/tests/peertube-runner/studio-transcoding.ts @@ -115,7 +115,7 @@ describe('Test studio transcoding in peertube-runner program', function () { after(async function () { if (peertubeRunner) { - await peertubeRunner.unregisterPeerTubeInstance() + await peertubeRunner.unregisterPeerTubeInstance({ runnerName: 'runner' }) peertubeRunner.kill() } diff --git a/server/tests/peertube-runner/vod-transcoding.ts b/server/tests/peertube-runner/vod-transcoding.ts index aefec394d..c3f41c097 100644 --- a/server/tests/peertube-runner/vod-transcoding.ts +++ b/server/tests/peertube-runner/vod-transcoding.ts @@ -341,7 +341,7 @@ describe('Test VOD transcoding in peertube-runner program', function () { after(async function () { if (peertubeRunner) { - await peertubeRunner.unregisterPeerTubeInstance() + await peertubeRunner.unregisterPeerTubeInstance({ runnerName: 'runner' }) peertubeRunner.kill() } -- cgit v1.2.3