CI can be very slow

pull/6026/head
Chocobozzz 2023-10-26 15:21:39 +02:00
parent 606c044dc8
commit bbd7de5c9d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 6 additions and 6 deletions

View File

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

View File

@ -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 ],

View File

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