From 278711b595aaaa6c3f77c160cc41b1b48c997e9a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 Oct 2018 13:09:47 +0200 Subject: Try to fix travis redundancy tests --- server/tests/api/server/redundancy.ts | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'server/tests/api') 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 () { await check1WebSeed(strategy, video1Server2UUID) await check2Webseeds(strategy, video2Server2UUID) } catch { - await wait(7000) + await wait(3000) - await check1WebSeed(strategy, video1Server2UUID) - await check2Webseeds(strategy, video2Server2UUID) + try { + await check1WebSeed(strategy, video1Server2UUID) + await check2Webseeds(strategy, video2Server2UUID) + } catch { + await wait(5000) + + await check1WebSeed(strategy, video1Server2UUID) + await check2Webseeds(strategy, video2Server2UUID) + } } }) -- cgit v1.2.3