1
0
Fork 0

Try to fix travis redundancy tests

This commit is contained in:
Chocobozzz 2018-10-02 13:09:47 +02:00
parent 659edaa62c
commit 278711b595
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 10 additions and 3 deletions

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