diff options
author | Chocobozzz <me@florianbigard.com> | 2021-09-06 08:13:11 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-09-06 08:13:11 +0200 |
commit | 70430c2796b6c0455a863edc62760a3d45951fc5 (patch) | |
tree | 7620d5a8db0c9b6cbf5a11d1c794875402828789 /server/tests/api/object-storage | |
parent | 6d210220be0875d63461829d83c6e3a59d05cf7a (diff) | |
download | PeerTube-70430c2796b6c0455a863edc62760a3d45951fc5.tar.gz PeerTube-70430c2796b6c0455a863edc62760a3d45951fc5.tar.zst PeerTube-70430c2796b6c0455a863edc62760a3d45951fc5.zip |
Wait mock server termination
Diffstat (limited to 'server/tests/api/object-storage')
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 6 |
1 files changed, 3 insertions, 3 deletions
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: { | |||
243 | }) | 243 | }) |
244 | 244 | ||
245 | after(async function () { | 245 | after(async function () { |
246 | mockObjectStorage.terminate() | 246 | await mockObjectStorage.terminate() |
247 | 247 | ||
248 | await cleanupTests(servers) | 248 | await cleanupTests(servers) |
249 | }) | 249 | }) |
@@ -380,8 +380,8 @@ describe('Object storage for videos', function () { | |||
380 | playlistBucket: 'mybucket', | 380 | playlistBucket: 'mybucket', |
381 | webtorrentBucket: 'mybucket', | 381 | webtorrentBucket: 'mybucket', |
382 | 382 | ||
383 | playlistPrefix: 'streaming-playlists_', | 383 | playlistPrefix: 'streaming-playlists/', |
384 | webtorrentPrefix: 'webtorrent_', | 384 | webtorrentPrefix: 'webtorrent/', |
385 | 385 | ||
386 | useMockBaseUrl: true | 386 | useMockBaseUrl: true |
387 | }) | 387 | }) |