Fix live socket test
This commit is contained in:
parent
12729394a0
commit
7c4440d900
|
@ -138,8 +138,12 @@ describe('Test live socket messages', function () {
|
|||
await servers[0].views.simulateView({ id: liveVideoUUID })
|
||||
await servers[1].views.simulateView({ id: liveVideoUUID })
|
||||
|
||||
await wait(3000)
|
||||
|
||||
await servers[0].views.simulateView({ id: liveVideoUUID })
|
||||
await servers[1].views.simulateView({ id: liveVideoUUID })
|
||||
|
||||
await waitJobs(servers)
|
||||
await processViewsBuffer(servers)
|
||||
|
||||
expect(localLastVideoViews).to.equal(2)
|
||||
expect(remoteLastVideoViews).to.equal(2)
|
||||
|
|
Loading…
Reference in New Issue