X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fserver%2Fstats.ts;h=942cbeaa43accd807cab2f1c6e8ac17e17aa40a9;hb=7b97127e8ba718d673b8a43afa964d136723e6a2;hp=762fc422df1ab156734a4c33f2e27a46109a7a2b;hpb=863477173efa82a4412d2e522aa46462249f9199;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts index 762fc422d..942cbeaa4 100644 --- a/server/tests/api/server/stats.ts +++ b/server/tests/api/server/stats.ts @@ -131,6 +131,7 @@ describe('Test stats (excluding redundancy)', function () { { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(2) expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) @@ -146,6 +147,7 @@ describe('Test stats (excluding redundancy)', function () { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(3) expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) @@ -156,6 +158,7 @@ describe('Test stats (excluding redundancy)', function () { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(3) expect(data.totalLocalDailyActiveVideoChannels).to.equal(2) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(2) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(2) @@ -185,7 +188,7 @@ describe('Test stats (excluding redundancy)', function () { }) it('Should correctly count video file sizes if transcoding is enabled', async function () { - this.timeout(60000) + this.timeout(120000) await servers[0].config.updateCustomSubConfig({ newConfig: {