aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-11-12 08:51:42 +0100
committerChocobozzz <me@florianbigard.com>2020-11-12 16:29:32 +0100
commit2a9562fc5894509e63016b1fe09f6dce0c4b6e5e (patch)
treeb6fe86edc5cc337975b114fc672880c0476dbedb /server/tests/api
parentb8fa24491c37fd7c0cca562a9469dfb254171919 (diff)
downloadPeerTube-2a9562fc5894509e63016b1fe09f6dce0c4b6e5e.tar.gz
PeerTube-2a9562fc5894509e63016b1fe09f6dce0c4b6e5e.tar.zst
PeerTube-2a9562fc5894509e63016b1fe09f6dce0c4b6e5e.zip
Increase tests waits
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/live/live.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index de3181928..29081c6cc 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -462,17 +462,17 @@ describe('Test live', function () {
462 await viewVideo(servers[0].url, liveVideoId) 462 await viewVideo(servers[0].url, liveVideoId)
463 await viewVideo(servers[0].url, liveVideoId) 463 await viewVideo(servers[0].url, liveVideoId)
464 464
465 await wait(5000) 465 await wait(7000)
466 466
467 await waitJobs(servers) 467 await waitJobs(servers)
468 468
469 await countViews(1) 469 await countViews(1)
470 }) 470 })
471 471
472 it('Should wait 5 seconds and display 0 views', async function () { 472 it('Should wait and display 0 views', async function () {
473 this.timeout(30000) 473 this.timeout(30000)
474 474
475 await wait(5000) 475 await wait(7000)
476 await waitJobs(servers) 476 await waitJobs(servers)
477 477
478 await countViews(0) 478 await countViews(0)
@@ -485,7 +485,7 @@ describe('Test live', function () {
485 await viewVideo(servers[1].url, liveVideoId) 485 await viewVideo(servers[1].url, liveVideoId)
486 await viewVideo(servers[1].url, liveVideoId) 486 await viewVideo(servers[1].url, liveVideoId)
487 487
488 await wait(5000) 488 await wait(7000)
489 await waitJobs(servers) 489 await waitJobs(servers)
490 490
491 await countViews(2) 491 await countViews(2)