From 1faf9dbe8b94cd2f26c6efa9b298c10ea376857c Mon Sep 17 00:00:00 2001 From: cruizba Date: Tue, 10 Dec 2024 00:13:41 +0100 Subject: [PATCH] e2e-tests: Delay browser setup --- .../src/main/java/io/openvidu/test/e2e/OpenViduTestE2e.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/openvidu-test-e2e/src/main/java/io/openvidu/test/e2e/OpenViduTestE2e.java b/openvidu-test-e2e/src/main/java/io/openvidu/test/e2e/OpenViduTestE2e.java index 6e1295bba2..64053facf9 100644 --- a/openvidu-test-e2e/src/main/java/io/openvidu/test/e2e/OpenViduTestE2e.java +++ b/openvidu-test-e2e/src/main/java/io/openvidu/test/e2e/OpenViduTestE2e.java @@ -472,6 +472,12 @@ private static boolean setupBrowserAux(BrowserNames browser, GenericContainer } if (!containerAlreadyRunning) { container.start(); + try { + // Avoid error starting container + Thread.sleep(5000); + } catch (InterruptedException e) { + e.printStackTrace(); + } containers.add(container); return true; }