mirror of https://github.com/OpenVidu/openvidu.git
Fix version of RTMP nginx container
parent
a80a688f3c
commit
9bbe7787c7
|
|
@ -28,7 +28,7 @@ public class TestUtils {
|
|||
public static String startRtmpServer() throws IOException, TimeoutException, InterruptedException {
|
||||
File file = writeRtmpServerConfigInFile();
|
||||
String dockerRunCommand = "docker run -d --name broadcast-nginx -p 1935:1935 -v " + file.getAbsolutePath()
|
||||
+ ":/etc/nginx/nginx.conf tiangolo/nginx-rtmp";
|
||||
+ ":/etc/nginx/nginx.conf tiangolo/nginx-rtmp:latest";
|
||||
commandLine.executeCommand(dockerRunCommand, 30);
|
||||
return waitForContainerIpAddress("broadcast-nginx", 10);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3155,7 +3155,7 @@ public class OpenViduProTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
|||
Assertions.assertTrue(errorResponse.contains("schemefail://" + BROADCAST_IP + "/live: Protocol not found"),
|
||||
"Broadcast error message does not contain expected message");
|
||||
// Concurrent broadcast
|
||||
final int PETITIONS = 20;
|
||||
final int PETITIONS = 15;
|
||||
List<String> responses = new ArrayList<>();
|
||||
List<Exception> exceptions = new ArrayList<>();
|
||||
CountDownLatch latch = new CountDownLatch(PETITIONS);
|
||||
|
|
|
|||
Loading…
Reference in New Issue