Try to fix travis redundancy tests

This commit is contained in:
Chocobozzz
2018-10-02 13:09:47 +02:00
parent 659edaa62c
commit 278711b595

View File

@@ -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)
}
}
})