diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-25 15:01:51 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-25 15:01:51 +0200 |
commit | e82cb08722f076aea4fdfcfa53940e7e4a0ac419 (patch) | |
tree | c333cff4c86a1db7a7f2e796fb63e5c3b66fd95c /server/tests/api/object-storage | |
parent | 3fc43fa0b0e81ff972526057c9d63e0aaa012aaa (diff) | |
download | PeerTube-e82cb08722f076aea4fdfcfa53940e7e4a0ac419.tar.gz PeerTube-e82cb08722f076aea4fdfcfa53940e7e4a0ac419.tar.zst PeerTube-e82cb08722f076aea4fdfcfa53940e7e4a0ac419.zip |
Fix proxy tests
Diffstat (limited to 'server/tests/api/object-storage')
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/object-storage/videos.ts b/server/tests/api/object-storage/videos.ts index af3db9334..d1875febb 100644 --- a/server/tests/api/object-storage/videos.ts +++ b/server/tests/api/object-storage/videos.ts | |||
@@ -323,7 +323,7 @@ describe('Object storage for videos', function () { | |||
323 | 323 | ||
324 | const { uuid } = await server.videos.quickUpload({ name: 'video' }) | 324 | const { uuid } = await server.videos.quickUpload({ name: 'video' }) |
325 | 325 | ||
326 | await waitJobs([ server ], true) | 326 | await waitJobs([ server ], { skipDelayed: true }) |
327 | const video = await server.videos.get({ id: uuid }) | 327 | const video = await server.videos.get({ id: uuid }) |
328 | 328 | ||
329 | expectStartWith(video.files[0].fileUrl, server.url) | 329 | expectStartWith(video.files[0].fileUrl, server.url) |
@@ -358,7 +358,7 @@ describe('Object storage for videos', function () { | |||
358 | 358 | ||
359 | const { uuid } = await server.videos.quickUpload({ name: 'video' }) | 359 | const { uuid } = await server.videos.quickUpload({ name: 'video' }) |
360 | 360 | ||
361 | await waitJobs([ server ], true) | 361 | await waitJobs([ server ], { skipDelayed: true }) |
362 | const video = await server.videos.get({ id: uuid }) | 362 | const video = await server.videos.get({ id: uuid }) |
363 | 363 | ||
364 | expectStartWith(video.files[0].fileUrl, ObjectStorageCommand.getMockWebTorrentBaseUrl()) | 364 | expectStartWith(video.files[0].fileUrl, ObjectStorageCommand.getMockWebTorrentBaseUrl()) |