]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/live/live-socket-messages.ts
shared/ typescript types dir server-commands
[github/Chocobozzz/PeerTube.git] / server / tests / api / live / live-socket-messages.ts
index 2a1f9f108bbd86ebeb20bd9e1801e03c55f7ce62..42cf9c5f67a08372cbfc07a2e7a52c07a06f85f1 100644 (file)
@@ -14,7 +14,7 @@ import {
   wait,
   waitJobs,
   waitUntilLivePublishedOnAllServers
-} from '../../../../shared/extra-utils'
+} from '../../../../shared/server-commands'
 
 const expect = chai.expect
 
@@ -143,8 +143,6 @@ describe('Test live', function () {
       await servers[0].videos.view({ id: liveVideoUUID })
       await servers[1].videos.view({ id: liveVideoUUID })
 
-      await waitJobs(servers)
-      await wait(5000)
       await waitJobs(servers)
 
       expect(localLastVideoViews).to.equal(2)