aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/peertube-runner/vod-transcoding.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-05 13:41:48 +0200
committerChocobozzz <chocobozzz@cpy.re>2023-05-09 08:57:34 +0200
commita687879e94fa5d3ecdd76bec3d94d0e1698ee913 (patch)
treeb17ee096918dfd4624d50dbf0e91ff8f66bd4a7f /server/tests/peertube-runner/vod-transcoding.ts
parente7d8e2b245491c0a8e008fb570037506d729ff04 (diff)
downloadPeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.gz
PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.tar.zst
PeerTube-a687879e94fa5d3ecdd76bec3d94d0e1698ee913.zip
Reload the video after waiting for the files lock
Diffstat (limited to 'server/tests/peertube-runner/vod-transcoding.ts')
-rw-r--r--server/tests/peertube-runner/vod-transcoding.ts6
1 files changed, 4 insertions, 2 deletions
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 () {
334 }) 334 })
335 335
336 after(async function () { 336 after(async function () {
337 await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) 337 if (peertubeRunner) {
338 peertubeRunner.kill() 338 await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] })
339 peertubeRunner.kill()
340 }
339 341
340 await cleanupTests(servers) 342 await cleanupTests(servers)
341 }) 343 })