Increase test timers
This commit is contained in:
parent
f10336cad0
commit
652b30564c
|
@ -29,6 +29,8 @@ describe('Test config', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should have a correct config on a server with registration enabled and a users limit', async function () {
|
it('Should have a correct config on a server with registration enabled and a users limit', async function () {
|
||||||
|
this.timeout(5000)
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
registerUser(server.url, 'user1', 'super password'),
|
registerUser(server.url, 'user1', 'super password'),
|
||||||
registerUser(server.url, 'user2', 'super password'),
|
registerUser(server.url, 'user2', 'super password'),
|
||||||
|
|
|
@ -69,8 +69,7 @@ describe('Test multiple servers', function () {
|
||||||
|
|
||||||
describe('Should upload the video and propagate on each server', function () {
|
describe('Should upload the video and propagate on each server', function () {
|
||||||
it('Should upload the video on server 1 and propagate on each server', async function () {
|
it('Should upload the video on server 1 and propagate on each server', async function () {
|
||||||
// Server 1 has video transcoding activated
|
this.timeout(25000)
|
||||||
this.timeout(15000)
|
|
||||||
|
|
||||||
const videoAttributes = {
|
const videoAttributes = {
|
||||||
name: 'my super name for server 1',
|
name: 'my super name for server 1',
|
||||||
|
@ -85,7 +84,7 @@ describe('Test multiple servers', function () {
|
||||||
}
|
}
|
||||||
await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes)
|
await uploadVideo(servers[0].url, servers[0].accessToken, videoAttributes)
|
||||||
|
|
||||||
await wait(5000)
|
await wait(10000)
|
||||||
|
|
||||||
// All servers should have this video
|
// All servers should have this video
|
||||||
for (const server of servers) {
|
for (const server of servers) {
|
||||||
|
|
Loading…
Reference in New Issue