Fix live socket test

This commit is contained in:
Chocobozzz 2025-01-16 09:20:57 +01:00
parent 12729394a0
commit 7c4440d900
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 5 additions and 1 deletions

View File

@ -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)