diff options
Diffstat (limited to 'server/tests/peertube-runner/live-transcoding.ts')
-rw-r--r-- | server/tests/peertube-runner/live-transcoding.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/peertube-runner/live-transcoding.ts b/server/tests/peertube-runner/live-transcoding.ts index 31716d545..f0acf25c8 100644 --- a/server/tests/peertube-runner/live-transcoding.ts +++ b/server/tests/peertube-runner/live-transcoding.ts | |||
@@ -183,8 +183,10 @@ describe('Test Live transcoding in peertube-runner program', function () { | |||
183 | }) | 183 | }) |
184 | 184 | ||
185 | after(async function () { | 185 | after(async function () { |
186 | await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) | 186 | if (peertubeRunner) { |
187 | peertubeRunner.kill() | 187 | await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) |
188 | peertubeRunner.kill() | ||
189 | } | ||
188 | 190 | ||
189 | await cleanupTests(servers) | 191 | await cleanupTests(servers) |
190 | }) | 192 | }) |