diff options
author | Chocobozzz <me@florianbigard.com> | 2018-10-02 13:09:47 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-10-02 13:09:57 +0200 |
commit | 278711b595aaaa6c3f77c160cc41b1b48c997e9a (patch) | |
tree | e817df09b45e60758a0d831c2fa2a7fb4760b450 /server/tests | |
parent | 659edaa62c9728d794ca779ac9a62a092f1c84b5 (diff) | |
download | PeerTube-278711b595aaaa6c3f77c160cc41b1b48c997e9a.tar.gz PeerTube-278711b595aaaa6c3f77c160cc41b1b48c997e9a.tar.zst PeerTube-278711b595aaaa6c3f77c160cc41b1b48c997e9a.zip |
Try to fix travis redundancy tests
Diffstat (limited to 'server/tests')
-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 | ||