CI can be very slow
This commit is contained in:
parent
606c044dc8
commit
bbd7de5c9d
3 changed files with 6 additions and 6 deletions
|
@ -57,7 +57,7 @@ describe('Test auto follows', function () {
|
||||||
describe('Auto follow back', function () {
|
describe('Auto follow back', function () {
|
||||||
|
|
||||||
it('Should not auto follow back if the option is not enabled', async function () {
|
it('Should not auto follow back if the option is not enabled', async function () {
|
||||||
this.timeout(15000)
|
this.timeout(30000)
|
||||||
|
|
||||||
await server1Follows2(servers)
|
await server1Follows2(servers)
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ describe('Test follows', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
it('Should have server 1 following root account of server 2 and server 3', async function () {
|
it('Should have server 1 following root account of server 2 and server 3', async function () {
|
||||||
this.timeout(30000)
|
this.timeout(60000)
|
||||||
|
|
||||||
await servers[0].follows.follow({
|
await servers[0].follows.follow({
|
||||||
hosts: [ servers[2].url ],
|
hosts: [ servers[2].url ],
|
||||||
|
|
|
@ -12,9 +12,9 @@ import {
|
||||||
waitJobs
|
waitJobs
|
||||||
} from '@peertube/peertube-server-commands'
|
} from '@peertube/peertube-server-commands'
|
||||||
|
|
||||||
function in10Seconds () {
|
function in15Seconds () {
|
||||||
const now = new Date()
|
const now = new Date()
|
||||||
now.setSeconds(now.getSeconds() + 10)
|
now.setSeconds(now.getSeconds() + 15)
|
||||||
|
|
||||||
return now
|
return now
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ describe('Test video update scheduler', function () {
|
||||||
name: 'video 1',
|
name: 'video 1',
|
||||||
privacy: VideoPrivacy.PRIVATE,
|
privacy: VideoPrivacy.PRIVATE,
|
||||||
scheduleUpdate: {
|
scheduleUpdate: {
|
||||||
updateAt: in10Seconds().toISOString(),
|
updateAt: in15Seconds().toISOString(),
|
||||||
privacy: VideoPrivacy.PUBLIC
|
privacy: VideoPrivacy.PUBLIC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ describe('Test video update scheduler', function () {
|
||||||
const attributes = {
|
const attributes = {
|
||||||
name: 'video 2 updated',
|
name: 'video 2 updated',
|
||||||
scheduleUpdate: {
|
scheduleUpdate: {
|
||||||
updateAt: in10Seconds().toISOString(),
|
updateAt: in15Seconds().toISOString(),
|
||||||
privacy: VideoPrivacy.PUBLIC
|
privacy: VideoPrivacy.PUBLIC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue