mirror of https://github.com/OpenVidu/openvidu.git
openvidu-test-e2e: fix two chrome launch
parent
3149b00834
commit
c67e820e93
|
|
@ -1311,14 +1311,14 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
@DisplayName("Chrome H264 simulcast BWE convergence")
|
@DisplayName("Chrome H264 simulcast BWE convergence")
|
||||||
void chromeH264SimulcastBweConvergenceTest() throws Exception {
|
void chromeH264SimulcastBweConvergenceTest() throws Exception {
|
||||||
log.info("Chrome H264 simulcast BWE convergence");
|
log.info("Chrome H264 simulcast BWE convergence");
|
||||||
simulcastBweConvergenceTest("h264", "chrome");
|
simulcastBweConvergenceTest("h264", "chromeTwoInstances");
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
@DisplayName("Chrome VP8 simulcast BWE convergence")
|
@DisplayName("Chrome VP8 simulcast BWE convergence")
|
||||||
void chromeVP8SimulcastBweConvergenceTest() throws Exception {
|
void chromeVP8SimulcastBweConvergenceTest() throws Exception {
|
||||||
log.info("Chrome VP8 simulcast BWE convergence");
|
log.info("Chrome VP8 simulcast BWE convergence");
|
||||||
simulcastBweConvergenceTest("vp8", "chrome");
|
simulcastBweConvergenceTest("vp8", "chromeTwoInstances");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void simulcastBweConvergenceTest(String publisherCodec, String subscriberBrowser) throws Exception {
|
private void simulcastBweConvergenceTest(String publisherCodec, String subscriberBrowser) throws Exception {
|
||||||
|
|
@ -1338,7 +1338,7 @@ public class OpenViduTestAppE2eTest extends AbstractOpenViduTestappE2eTest {
|
||||||
final java.util.concurrent.atomic.AtomicLong subscriber1920AtMs = new java.util.concurrent.atomic.AtomicLong(
|
final java.util.concurrent.atomic.AtomicLong subscriber1920AtMs = new java.util.concurrent.atomic.AtomicLong(
|
||||||
-1);
|
-1);
|
||||||
|
|
||||||
final String publisherBrowser = subscriberBrowser == "chrome" ? "chromeTwoInstances" : "chrome";
|
final String publisherBrowser = subscriberBrowser == "chromeTwoInstances" ? "chromeTwoInstances" : "chrome";
|
||||||
|
|
||||||
Future<?> task1 = executor.submit(() -> {
|
Future<?> task1 = executor.submit(() -> {
|
||||||
try {
|
try {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue