From a687879e94fa5d3ecdd76bec3d94d0e1698ee913 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 5 May 2023 13:41:48 +0200 Subject: Reload the video after waiting for the files lock --- server/tests/peertube-runner/vod-transcoding.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'server/tests/peertube-runner/vod-transcoding.ts') diff --git a/server/tests/peertube-runner/vod-transcoding.ts b/server/tests/peertube-runner/vod-transcoding.ts index 3a9abba93..3c0918102 100644 --- a/server/tests/peertube-runner/vod-transcoding.ts +++ b/server/tests/peertube-runner/vod-transcoding.ts @@ -334,8 +334,10 @@ describe('Test VOD transcoding in peertube-runner program', function () { }) after(async function () { - await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) - peertubeRunner.kill() + if (peertubeRunner) { + await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) + peertubeRunner.kill() + } await cleanupTests(servers) }) -- cgit v1.2.3