Fix e2e tests
This commit is contained in:
parent
b9fa01eccb
commit
4d3602dc30
@ -1154,10 +1154,10 @@ public class KurentoSessionManager extends SessionManager {
|
||||
location = this.geoLocationByIp.getLocationByIp(ipAddress);
|
||||
} catch (IOException e) {
|
||||
e.printStackTrace();
|
||||
location = new GeoLocation(ipAddress.getHostAddress());
|
||||
location = new GeoLocation(ipAddress != null ? ipAddress.getHostAddress() : null);
|
||||
} catch (Exception e) {
|
||||
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 + "_"
|
||||
|
||||
@ -3431,7 +3431,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestAppE2eTest {
|
||||
Assert.assertEquals("Wrong number of properties in event 'sessionCreated'", 3 + 1, event.keySet().size());
|
||||
|
||||
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 = CustomWebhook.waitForEvent("webrtcConnectionCreated", 2);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user