mirror of https://github.com/OpenVidu/openvidu.git
Fix e2e tests
parent
b9fa01eccb
commit
4d3602dc30
|
@ -1154,10 +1154,10 @@ public class KurentoSessionManager extends SessionManager {
|
||||||
location = this.geoLocationByIp.getLocationByIp(ipAddress);
|
location = this.geoLocationByIp.getLocationByIp(ipAddress);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
location = new GeoLocation(ipAddress.getHostAddress());
|
location = new GeoLocation(ipAddress != null ? ipAddress.getHostAddress() : null);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
log.warn("Error getting address location: {}", e.getMessage());
|
log.warn("Error getting address location: {}", e.getMessage());
|
||||||
location = new GeoLocation(ipAddress.getHostAddress());
|
location = new GeoLocation(ipAddress != null ? ipAddress.getHostAddress() : null);
|
||||||
}
|
}
|
||||||
|
|
||||||
String rtspConnectionId = kMediaOptions.getTypeOfVideo() + "_" + protocol + "_"
|
String rtspConnectionId = kMediaOptions.getTypeOfVideo() + "_" + protocol + "_"
|
||||||
|
|
|
@ -3431,7 +3431,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
||||||
Assert.assertEquals("Wrong number of properties in event 'sessionCreated'", 3 + 1, event.keySet().size());
|
Assert.assertEquals("Wrong number of properties in event 'sessionCreated'", 3 + 1, event.keySet().size());
|
||||||
|
|
||||||
event = CustomWebhook.waitForEvent("participantJoined", 2);
|
event = CustomWebhook.waitForEvent("participantJoined", 2);
|
||||||
Assert.assertEquals("Wrong number of properties in event 'participantJoined'", 9 + 1,
|
Assert.assertEquals("Wrong number of properties in event 'participantJoined'", 10 + 1,
|
||||||
event.keySet().size());
|
event.keySet().size());
|
||||||
|
|
||||||
event = CustomWebhook.waitForEvent("webrtcConnectionCreated", 2);
|
event = CustomWebhook.waitForEvent("webrtcConnectionCreated", 2);
|
||||||
|
|
Loading…
Reference in New Issue