mirror of https://github.com/Chocobozzz/PeerTube
Allow to retry some tests that may fail
parent
be3ec61a66
commit
339d3fba83
|
@ -398,7 +398,9 @@ describe('Test multiple servers', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
describe('Should seed the uploaded video', function () {
|
describe('Should seed the uploaded video', function () {
|
||||||
|
|
||||||
it('Should add the file 1 by asking server 3', async function () {
|
it('Should add the file 1 by asking server 3', async function () {
|
||||||
|
this.retries(2)
|
||||||
this.timeout(30000)
|
this.timeout(30000)
|
||||||
|
|
||||||
const { data } = await servers[2].videos.list()
|
const { data } = await servers[2].videos.list()
|
||||||
|
@ -413,6 +415,7 @@ describe('Test multiple servers', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should add the file 2 by asking server 1', async function () {
|
it('Should add the file 2 by asking server 1', async function () {
|
||||||
|
this.retries(2)
|
||||||
this.timeout(30000)
|
this.timeout(30000)
|
||||||
|
|
||||||
const { data } = await servers[0].videos.list()
|
const { data } = await servers[0].videos.list()
|
||||||
|
@ -424,6 +427,7 @@ describe('Test multiple servers', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should add the file 3 by asking server 2', async function () {
|
it('Should add the file 3 by asking server 2', async function () {
|
||||||
|
this.retries(2)
|
||||||
this.timeout(30000)
|
this.timeout(30000)
|
||||||
|
|
||||||
const { data } = await servers[1].videos.list()
|
const { data } = await servers[1].videos.list()
|
||||||
|
|
Loading…
Reference in New Issue