X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fobject-storage%2Fvideo-static-file-privacy.ts;h=930c88543ba680a1e26273be084d226732e16103;hb=05a60d85997c108d39bcfb14f1ffd4c74f8b1e93;hp=71ad35a4346edbef1446c4b261a534f6840480cb;hpb=b8598d40f650a31fe09a4a5426dcdc2c5c0d566c;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/object-storage/video-static-file-privacy.ts b/server/tests/api/object-storage/video-static-file-privacy.ts index 71ad35a43..930c88543 100644 --- a/server/tests/api/object-storage/video-static-file-privacy.ts +++ b/server/tests/api/object-storage/video-static-file-privacy.ts @@ -120,7 +120,7 @@ describe('Object storage for video static file privacy', function () { // --------------------------------------------------------------------------- it('Should upload a private video and have appropriate object storage ACL', async function () { - this.timeout(60000) + this.timeout(120000) { const { uuid } = await server.videos.quickUpload({ name: 'video', privacy: VideoPrivacy.PRIVATE }) @@ -138,7 +138,7 @@ describe('Object storage for video static file privacy', function () { }) it('Should upload a public video and have appropriate object storage ACL', async function () { - this.timeout(60000) + this.timeout(120000) const { uuid } = await server.videos.quickUpload({ name: 'video', privacy: VideoPrivacy.UNLISTED }) await waitJobs([ server ]) @@ -305,13 +305,21 @@ describe('Object storage for video static file privacy', function () { }) { - const { video, live } = await server.live.quickCreate({ saveReplay: true, permanentLive: false, privacy: VideoPrivacy.PRIVATE }) + const { video, live } = await server.live.quickCreate({ + saveReplay: true, + permanentLive: false, + privacy: VideoPrivacy.PRIVATE + }) normalLiveId = video.uuid normalLive = live } { - const { video, live } = await server.live.quickCreate({ saveReplay: true, permanentLive: true, privacy: VideoPrivacy.PRIVATE }) + const { video, live } = await server.live.quickCreate({ + saveReplay: true, + permanentLive: true, + privacy: VideoPrivacy.PRIVATE + }) permanentLiveId = video.uuid permanentLive = live }