From 70430c2796b6c0455a863edc62760a3d45951fc5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 6 Sep 2021 08:13:11 +0200 Subject: Wait mock server termination --- server/tests/api/object-storage/videos.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/api/object-storage/videos.ts') diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts index 6c9c224eb..6e6392181 100644 --- a/server/tests/api/object-storage/videos.ts +++ b/server/tests/api/object-storage/videos.ts @@ -243,7 +243,7 @@ function runTestSuite (options: { }) after(async function () { - mockObjectStorage.terminate() + await mockObjectStorage.terminate() await cleanupTests(servers) }) @@ -380,8 +380,8 @@ describe('Object storage for videos', function () { playlistBucket: 'mybucket', webtorrentBucket: 'mybucket', - playlistPrefix: 'streaming-playlists_', - webtorrentPrefix: 'webtorrent_', + playlistPrefix: 'streaming-playlists/', + webtorrentPrefix: 'webtorrent/', useMockBaseUrl: true }) -- cgit v1.2.3