openvidu-test-e2e: fix streamPropertyChanged test

pull/533/head
pabloFuente 2020-09-03 22:13:20 +02:00
parent 7b2c9f9118
commit 8f1512f965
1 changed files with 3 additions and 0 deletions

View File

@ -934,6 +934,9 @@ public class OpenViduTestAppE2eTest {
user.getEventManager().waitUntilEventReaches("streamCreated", 2);
user.getEventManager().waitUntilEventReaches("streamPlaying", 2);
// Give some time for the screen sharing warning to stop resizing the viewport
Thread.sleep(3000);
// Unpublish video
final CountDownLatch latch1 = new CountDownLatch(2);
user.getEventManager().on("streamPropertyChanged", (event) -> {