diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-05 13:41:48 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | a687879e94fa5d3ecdd76bec3d94d0e1698ee913 (patch) | |
tree | b17ee096918dfd4624d50dbf0e91ff8f66bd4a7f /server/tests/peertube-runner/studio-transcoding.ts | |
parent | e7d8e2b245491c0a8e008fb570037506d729ff04 (diff) | |
download | PeerTube-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/studio-transcoding.ts')
-rw-r--r-- | server/tests/peertube-runner/studio-transcoding.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/peertube-runner/studio-transcoding.ts b/server/tests/peertube-runner/studio-transcoding.ts index 204836c4d..e20cc9041 100644 --- a/server/tests/peertube-runner/studio-transcoding.ts +++ b/server/tests/peertube-runner/studio-transcoding.ts | |||
@@ -108,8 +108,10 @@ describe('Test studio transcoding in peertube-runner program', function () { | |||
108 | }) | 108 | }) |
109 | 109 | ||
110 | after(async function () { | 110 | after(async function () { |
111 | await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) | 111 | if (peertubeRunner) { |
112 | peertubeRunner.kill() | 112 | await peertubeRunner.unregisterPeerTubeInstance({ server: servers[0] }) |
113 | peertubeRunner.kill() | ||
114 | } | ||
113 | 115 | ||
114 | await cleanupTests(servers) | 116 | await cleanupTests(servers) |
115 | }) | 117 | }) |