1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-06 03:50:26 +02:00

Faster user import/export tests

This commit is contained in:
Chocobozzz 2024-02-13 11:40:27 +01:00 committed by Chocobozzz
parent 009d7b39ac
commit 967702d6c7
2 changed files with 9 additions and 15 deletions

View file

@ -403,14 +403,6 @@ function runTest (withObjectStorage: boolean) {
resolution: 720,
size: 61000
},
{
resolution: 480,
size: 40000
},
{
resolution: 360,
size: 32000
},
{
resolution: 240,
size: 23000
@ -427,7 +419,7 @@ function runTest (withObjectStorage: boolean) {
servers: [ remoteServer, server ],
videoUUID: otherVideo.uuid,
objectStorageBaseUrl: objectStorage?.getMockPlaylistBaseUrl(),
resolutions: [ 720, 480, 360, 240 ]
resolutions: [ 720, 240 ]
})
const source = await remoteServer.videos.getSource({ id: otherVideo.uuid })