From faaabd5e2bed2d315566b6c8c85199fb42bd98bc Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 14 Sep 2023 07:52:01 -0400 Subject: [PATCH] testability: bench test commands should have automated coverage using simulator #5562 wow brain fart --- .../src/main/java/com/rusefi/SimulatorExecHelper.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/java_console/autotest/src/main/java/com/rusefi/SimulatorExecHelper.java b/java_console/autotest/src/main/java/com/rusefi/SimulatorExecHelper.java index b4985902a8..2db6b34a5c 100644 --- a/java_console/autotest/src/main/java/com/rusefi/SimulatorExecHelper.java +++ b/java_console/autotest/src/main/java/com/rusefi/SimulatorExecHelper.java @@ -119,8 +119,6 @@ public class SimulatorExecHelper { new Thread(() -> runSimulator(simulatorStarted), "simulator process").start(); simulatorStarted.await(1, TimeUnit.MINUTES); log.info("Let's give it some time to start..."); - // yes quite long delay is needed to GHA to be reliable even while we have a latch for simulator process console output - // technically we can do a loop waiting for port to open if one day we would start caring - Thread.sleep(35 * Timeouts.SECOND); + Thread.sleep(5 * Timeouts.SECOND); } }