diff options
Diffstat (limited to 'server/tests/api/redundancy/redundancy.ts')
-rw-r--r-- | server/tests/api/redundancy/redundancy.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/redundancy/redundancy.ts b/server/tests/api/redundancy/redundancy.ts index be24eb32f..1cdf93aa1 100644 --- a/server/tests/api/redundancy/redundancy.ts +++ b/server/tests/api/redundancy/redundancy.ts | |||
@@ -318,7 +318,7 @@ describe('Test videos redundancy', function () { | |||
318 | await check1WebSeed() | 318 | await check1WebSeed() |
319 | await check0PlaylistRedundancies() | 319 | await check0PlaylistRedundancies() |
320 | 320 | ||
321 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].serverNumber, [ 'videos', join('playlists', 'hls') ]) | 321 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].internalServerNumber, [ 'videos', join('playlists', 'hls') ]) |
322 | }) | 322 | }) |
323 | 323 | ||
324 | after(async function () { | 324 | after(async function () { |
@@ -368,7 +368,7 @@ describe('Test videos redundancy', function () { | |||
368 | await check1WebSeed() | 368 | await check1WebSeed() |
369 | await check0PlaylistRedundancies() | 369 | await check0PlaylistRedundancies() |
370 | 370 | ||
371 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].serverNumber, [ 'videos' ]) | 371 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].internalServerNumber, [ 'videos' ]) |
372 | }) | 372 | }) |
373 | 373 | ||
374 | after(async function () { | 374 | after(async function () { |
@@ -437,7 +437,7 @@ describe('Test videos redundancy', function () { | |||
437 | await waitJobs(servers) | 437 | await waitJobs(servers) |
438 | 438 | ||
439 | for (const server of servers) { | 439 | for (const server of servers) { |
440 | await checkVideoFilesWereRemoved(video1Server2UUID, server.serverNumber) | 440 | await checkVideoFilesWereRemoved(video1Server2UUID, server.internalServerNumber) |
441 | } | 441 | } |
442 | }) | 442 | }) |
443 | 443 | ||
@@ -572,7 +572,7 @@ describe('Test videos redundancy', function () { | |||
572 | 572 | ||
573 | await waitJobs(servers) | 573 | await waitJobs(servers) |
574 | 574 | ||
575 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].serverNumber, [ join('redundancy', 'hls') ]) | 575 | await checkVideoFilesWereRemoved(video1Server2UUID, servers[0].internalServerNumber, [ join('redundancy', 'hls') ]) |
576 | }) | 576 | }) |
577 | 577 | ||
578 | after(async function () { | 578 | after(async function () { |