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-overall-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-overall-stats.ts')
-rw-r--r-- | server/tests/api/views/video-views-overall-stats.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/views/video-views-overall-stats.ts b/server/tests/api/views/video-views-overall-stats.ts index 22761d6ec..d8de73cbc 100644 --- a/server/tests/api/views/video-views-overall-stats.ts +++ b/server/tests/api/views/video-views-overall-stats.ts | |||
@@ -21,7 +21,7 @@ describe('Test views overall stats', function () { | |||
21 | let vodVideoId: string | 21 | let vodVideoId: string |
22 | 22 | ||
23 | before(async function () { | 23 | before(async function () { |
24 | this.timeout(60000); | 24 | this.timeout(120000); |
25 | 25 | ||
26 | ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true })) | 26 | ({ vodVideoId } = await prepareViewsVideos({ servers, live: false, vod: true })) |
27 | }) | 27 | }) |
@@ -74,7 +74,7 @@ describe('Test views overall stats', function () { | |||
74 | let command: FfmpegCommand | 74 | let command: FfmpegCommand |
75 | 75 | ||
76 | before(async function () { | 76 | before(async function () { |
77 | this.timeout(60000); | 77 | this.timeout(120000); |
78 | 78 | ||
79 | ({ vodVideoId, liveVideoId, ffmpegCommand: command } = await prepareViewsVideos({ servers, live: true, vod: true })) | 79 | ({ vodVideoId, liveVideoId, ffmpegCommand: command } = await prepareViewsVideos({ servers, live: true, vod: true })) |
80 | }) | 80 | }) |
@@ -189,7 +189,7 @@ describe('Test views overall stats', function () { | |||
189 | let videoUUID: string | 189 | let videoUUID: string |
190 | 190 | ||
191 | before(async function () { | 191 | before(async function () { |
192 | this.timeout(60000); | 192 | this.timeout(120000); |
193 | 193 | ||
194 | ({ vodVideoId: videoUUID } = await prepareViewsVideos({ servers, live: true, vod: true })) | 194 | ({ vodVideoId: videoUUID } = await prepareViewsVideos({ servers, live: true, vod: true })) |
195 | }) | 195 | }) |