mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: afterEach do not always restart KMS
parent
5cb59193ee
commit
ad804151bd
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue