openvidu-test-e2e: recording time fix

pull/370/head
pabloFuente 2019-10-07 22:29:49 +02:00
parent 0eef367639
commit d3270ca2a1
1 changed files with 3 additions and 1 deletions

View File

@ -2722,8 +2722,10 @@ public class OpenViduTestAppE2eTest {
reason); reason);
latch.countDown(); latch.countDown();
}); });
this.restartKms();
long recEndTime = System.currentTimeMillis(); long recEndTime = System.currentTimeMillis();
this.restartKms();
user.getEventManager().waitUntilEventReaches("recordingStopped", 2); user.getEventManager().waitUntilEventReaches("recordingStopped", 2);
user.getEventManager().waitUntilEventReaches("streamDestroyed", 2); user.getEventManager().waitUntilEventReaches("streamDestroyed", 2);
if (!latch.await(5000, TimeUnit.MILLISECONDS)) { if (!latch.await(5000, TimeUnit.MILLISECONDS)) {