mirror of https://github.com/OpenVidu/openvidu.git
Improve logging for RTSP server media publication failure in OpenViduTestE2e
parent
bc38b18bc5
commit
48341c21f6
|
|
@ -271,7 +271,9 @@ public class OpenViduTestE2e {
|
|||
}
|
||||
t--;
|
||||
}
|
||||
if (!pattern.matcher(container.getLogs()).find()) {
|
||||
String logs = container.getLogs();
|
||||
if (!pattern.matcher(logs).find()) {
|
||||
System.err.println("Container logs:\n" + logs + "\nEnd of container logs\n");
|
||||
Assertions.fail("RTSP server has not published media in " + secondsTimeout + " seconds. Looking for regex "
|
||||
+ regex);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue