diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/object-storage/videos.ts | 4 | ||||
-rw-r--r-- | server/tests/api/server/proxy.ts | 2 |
2 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 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()) |
diff --git a/server/tests/api/server/proxy.ts b/server/tests/api/server/proxy.ts index 3700b0746..71c444efd 100644 --- a/server/tests/api/server/proxy.ts +++ b/server/tests/api/server/proxy.ts | |||
@@ -149,7 +149,7 @@ describe('Test proxy', function () { | |||
149 | await servers[0].run(ObjectStorageCommand.getDefaultMockConfig(), { env: badEnv }) | 149 | await servers[0].run(ObjectStorageCommand.getDefaultMockConfig(), { env: badEnv }) |
150 | 150 | ||
151 | const { uuid } = await servers[0].videos.quickUpload({ name: 'video' }) | 151 | const { uuid } = await servers[0].videos.quickUpload({ name: 'video' }) |
152 | await waitJobs(servers) | 152 | await waitJobs(servers, { skipDelayed: true }) |
153 | 153 | ||
154 | const video = await servers[0].videos.get({ id: uuid }) | 154 | const video = await servers[0].videos.get({ id: uuid }) |
155 | 155 | ||