aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/views/video-views-retention-stats.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-04-06 08:50:43 +0200
committerChocobozzz <chocobozzz@cpy.re>2022-04-15 09:49:35 +0200
commitac907dc7c158056e9b6a5cb58acd27df5c7c2670 (patch)
treef9d8bff22e0543a305c64e1a1808c0df6d512f1e /server/tests/api/views/video-views-retention-stats.ts
parentdfbcefc20dc64f0814b1f2e8e782a4ea1bd24db2 (diff)
downloadPeerTube-ac907dc7c158056e9b6a5cb58acd27df5c7c2670.tar.gz
PeerTube-ac907dc7c158056e9b6a5cb58acd27df5c7c2670.tar.zst
PeerTube-ac907dc7c158056e9b6a5cb58acd27df5c7c2670.zip
Improve viewer counter
More precise, avoid weird decrease, reuse an id to federate viewers
Diffstat (limited to 'server/tests/api/views/video-views-retention-stats.ts')
-rw-r--r--server/tests/api/views/video-views-retention-stats.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/views/video-views-retention-stats.ts b/server/tests/api/views/video-views-retention-stats.ts
index 98be7bfdb..a27141d68 100644
--- a/server/tests/api/views/video-views-retention-stats.ts
+++ b/server/tests/api/views/video-views-retention-stats.ts
@@ -20,7 +20,7 @@ describe('Test views retention stats', function () {
20 let vodVideoId: string 20 let vodVideoId: string
21 21
22 before(async function () { 22 before(async function () {
23 this.timeout(60000); 23 this.timeout(120000);
24 24
25 ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true })) 25 ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true }))
26 }) 26 })