aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-channels.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-22 09:20:28 +0200
committerChocobozzz <me@florianbigard.com>2023-05-22 09:22:08 +0200
commit33b91e53d21fba295ecf516b717fb36e91990771 (patch)
treec3e6c31636a47b64c164c1e91ee2125bbc61339e /server/tests/api/videos/video-channels.ts
parent679f8800cdc0ef925fae9ca26fb2892a8f475ad5 (diff)
downloadPeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.gz
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.tar.zst
PeerTube-33b91e53d21fba295ecf516b717fb36e91990771.zip
Remove low timeouts
Default timeout is 30s
Diffstat (limited to 'server/tests/api/videos/video-channels.ts')
-rw-r--r--server/tests/api/videos/video-channels.ts8
1 files changed, 0 insertions, 8 deletions
diff --git a/server/tests/api/videos/video-channels.ts b/server/tests/api/videos/video-channels.ts
index 8e2b7937c..f7cf84618 100644
--- a/server/tests/api/videos/video-channels.ts
+++ b/server/tests/api/videos/video-channels.ts
@@ -378,8 +378,6 @@ describe('Test video channels', function () {
378 }) 378 })
379 379
380 it('Should list the second video channel videos', async function () { 380 it('Should list the second video channel videos', async function () {
381 this.timeout(10000)
382
383 for (const server of servers) { 381 for (const server of servers) {
384 const channelURI = 'second_video_channel@' + servers[0].host 382 const channelURI = 'second_video_channel@' + servers[0].host
385 const { total, data } = await server.videos.listByChannel({ handle: channelURI }) 383 const { total, data } = await server.videos.listByChannel({ handle: channelURI })
@@ -392,16 +390,12 @@ describe('Test video channels', function () {
392 }) 390 })
393 391
394 it('Should change the video channel of a video', async function () { 392 it('Should change the video channel of a video', async function () {
395 this.timeout(10000)
396
397 await servers[0].videos.update({ id: videoUUID, attributes: { channelId: servers[0].store.channel.id } }) 393 await servers[0].videos.update({ id: videoUUID, attributes: { channelId: servers[0].store.channel.id } })
398 394
399 await waitJobs(servers) 395 await waitJobs(servers)
400 }) 396 })
401 397
402 it('Should list the first video channel videos', async function () { 398 it('Should list the first video channel videos', async function () {
403 this.timeout(10000)
404
405 for (const server of servers) { 399 for (const server of servers) {
406 { 400 {
407 const secondChannelURI = 'second_video_channel@' + servers[0].host 401 const secondChannelURI = 'second_video_channel@' + servers[0].host
@@ -452,8 +446,6 @@ describe('Test video channels', function () {
452 }) 446 })
453 447
454 it('Should report correct channel views per days', async function () { 448 it('Should report correct channel views per days', async function () {
455 this.timeout(10000)
456
457 { 449 {
458 const { data } = await servers[0].channels.listByAccount({ accountName, withStats: true }) 450 const { data } = await servers[0].channels.listByAccount({ accountName, withStats: true })
459 451