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 () {
|
||||
|
||||
it('Should not auto follow back if the option is not enabled', async function () {
|
||||
this.timeout(15000)
|
||||
this.timeout(30000)
|
||||
|
||||
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 () {
|
||||
this.timeout(30000)
|
||||
this.timeout(60000)
|
||||
|
||||
await servers[0].follows.follow({
|
||||
hosts: [ servers[2].url ],
|
||||
|
|
|
@ -12,9 +12,9 @@ import {
|
|||
waitJobs
|
||||
} from '@peertube/peertube-server-commands'
|
||||
|
||||
function in10Seconds () {
|
||||
function in15Seconds () {
|
||||
const now = new Date()
|
||||
now.setSeconds(now.getSeconds() + 10)
|
||||
now.setSeconds(now.getSeconds() + 15)
|
||||
|
||||
return now
|
||||
}
|
||||
|
@ -39,7 +39,7 @@ describe('Test video update scheduler', function () {
|
|||
name: 'video 1',
|
||||
privacy: VideoPrivacy.PRIVATE,
|
||||
scheduleUpdate: {
|
||||
updateAt: in10Seconds().toISOString(),
|
||||
updateAt: in15Seconds().toISOString(),
|
||||
privacy: VideoPrivacy.PUBLIC
|
||||
}
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ describe('Test video update scheduler', function () {
|
|||
const attributes = {
|
||||
name: 'video 2 updated',
|
||||
scheduleUpdate: {
|
||||
updateAt: in10Seconds().toISOString(),
|
||||
updateAt: in15Seconds().toISOString(),
|
||||
privacy: VideoPrivacy.PUBLIC
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue