diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-06 08:50:43 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | ac907dc7c158056e9b6a5cb58acd27df5c7c2670 (patch) | |
tree | f9d8bff22e0543a305c64e1a1808c0df6d512f1e /server/tests/api/views/video-views-timeserie-stats.ts | |
parent | dfbcefc20dc64f0814b1f2e8e782a4ea1bd24db2 (diff) | |
download | PeerTube-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-timeserie-stats.ts')
-rw-r--r-- | server/tests/api/views/video-views-timeserie-stats.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/views/video-views-timeserie-stats.ts b/server/tests/api/views/video-views-timeserie-stats.ts index 98c041cdf..858edeff7 100644 --- a/server/tests/api/views/video-views-timeserie-stats.ts +++ b/server/tests/api/views/video-views-timeserie-stats.ts | |||
@@ -24,7 +24,7 @@ describe('Test views timeserie stats', function () { | |||
24 | let vodVideoId: string | 24 | let vodVideoId: string |
25 | 25 | ||
26 | before(async function () { | 26 | before(async function () { |
27 | this.timeout(60000); | 27 | this.timeout(120000); |
28 | 28 | ||
29 | ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true })) | 29 | ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true })) |
30 | }) | 30 | }) |
@@ -63,7 +63,7 @@ describe('Test views timeserie stats', function () { | |||
63 | } | 63 | } |
64 | 64 | ||
65 | before(async function () { | 65 | before(async function () { |
66 | this.timeout(60000); | 66 | this.timeout(120000); |
67 | 67 | ||
68 | ({ vodVideoId, liveVideoId, ffmpegCommand: command } = await prepareViewsVideos({ servers, live: true, vod: true })) | 68 | ({ vodVideoId, liveVideoId, ffmpegCommand: command } = await prepareViewsVideos({ servers, live: true, vod: true })) |
69 | }) | 69 | }) |