openvidu-test-e2e: afterEach do not always restart KMS

pull/375/head
pabloFuente 2019-06-13 10:12:58 +02:00
parent 5cb59193ee
commit ad804151bd
1 changed files with 3 additions and 1 deletions

View File

@ -262,6 +262,7 @@ public class OpenViduTestAppE2eTest {
}
if (isKurentoRestartTest) {
this.restartKms();
isKurentoRestartTest = false;
}
}
@ -2120,7 +2121,8 @@ public class OpenViduTestAppE2eTest {
String widthAndHeight = user.getEventManager().getDimensionOfViewport();
JSONObject obj = (JSONObject) new JSONParser().parse(widthAndHeight);
Assert.assertEquals("{\"width\":" + (long) obj.get("width") + ",\"height\":" + ((long) obj.get("height")) + "}",
Assert.assertEquals(
"{\"width\":" + (long) obj.get("width") + ",\"height\":" + ((long) obj.get("height") - 1) + "}",
pub.getVideoDimensions());
Assert.assertEquals(new Integer(30), pub.getFrameRate());
Assert.assertEquals("SCREEN", pub.getTypeOfVideo());