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 +++--- server/tests/api/server/proxy.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests') 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 }) diff --git a/server/tests/api/server/proxy.ts b/server/tests/api/server/proxy.ts index d5042ef27..72bd49078 100644 --- a/server/tests/api/server/proxy.ts +++ b/server/tests/api/server/proxy.ts @@ -65,7 +65,7 @@ describe('Test proxy', function () { }) after(async function () { - proxy.terminate() + await proxy.terminate() await cleanupTests(servers) }) -- cgit v1.2.3