From 5cac83a78d6ba5212755fafce2ed25f7c74b04e5 Mon Sep 17 00:00:00 2001
From: Chocobozzz <me@florianbigard.com>
Date: Wed, 9 Dec 2020 15:00:02 +0100
Subject: Refactor views component

---
 server/tests/api/live/live.ts | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'server/tests')

diff --git a/server/tests/api/live/live.ts b/server/tests/api/live/live.ts
index 7ea0ec198..e728fcce0 100644
--- a/server/tests/api/live/live.ts
+++ b/server/tests/api/live/live.ts
@@ -42,8 +42,7 @@ import {
   waitJobs,
   waitUntilLiveEnded,
   waitUntilLivePublished,
-  waitUntilLiveSegmentGeneration,
-  waitUntilLog
+  waitUntilLiveSegmentGeneration
 } from '../../../../shared/extra-utils'
 
 const expect = chai.expect
@@ -329,7 +328,7 @@ describe('Test live', function () {
         await checkResolutionsInMasterPlaylist(hlsPlaylist.playlistUrl, resolutions)
 
         for (let i = 0; i < resolutions.length; i++) {
-          const segmentNum = 1
+          const segmentNum = 2
           const segmentName = `${i}-00000${segmentNum}.ts`
           await waitUntilLiveSegmentGeneration(servers[0], video.uuid, i, segmentNum)
 
-- 
cgit v1.2.3