diff options
-rw-r--r-- | server/tests/api/server/redundancy.ts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/server/tests/api/server/redundancy.ts b/server/tests/api/server/redundancy.ts index fcf1eacd3..d60319657 100644 --- a/server/tests/api/server/redundancy.ts +++ b/server/tests/api/server/redundancy.ts | |||
@@ -445,10 +445,17 @@ describe('Test videos redundancy', function () { | |||
445 | await check1WebSeed(strategy, video1Server2UUID) | 445 | await check1WebSeed(strategy, video1Server2UUID) |
446 | await check2Webseeds(strategy, video2Server2UUID) | 446 | await check2Webseeds(strategy, video2Server2UUID) |
447 | } catch { | 447 | } catch { |
448 | await wait(7000) | 448 | await wait(3000) |
449 | 449 | ||
450 | await check1WebSeed(strategy, video1Server2UUID) | 450 | try { |
451 | await check2Webseeds(strategy, video2Server2UUID) | 451 | await check1WebSeed(strategy, video1Server2UUID) |
452 | await check2Webseeds(strategy, video2Server2UUID) | ||
453 | } catch { | ||
454 | await wait(5000) | ||
455 | |||
456 | await check1WebSeed(strategy, video1Server2UUID) | ||
457 | await check2Webseeds(strategy, video2Server2UUID) | ||
458 | } | ||
452 | } | 459 | } |
453 | }) | 460 | }) |
454 | 461 | ||