From 67551a8bdeec66e6b6b1b09d6c83f51e5c1fe640 Mon Sep 17 00:00:00 2001 From: "rick.parker" Date: Thu, 13 Apr 2023 09:39:03 +0100 Subject: [PATCH] Increase test timeout for Jenkins even more --- .../java/net/gredler/aegis4j/AegisAgentCommandLineTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/aegis4j/src/test/java/net/gredler/aegis4j/AegisAgentCommandLineTest.java b/tools/aegis4j/src/test/java/net/gredler/aegis4j/AegisAgentCommandLineTest.java index 4efcf8a54c..185f08bd28 100644 --- a/tools/aegis4j/src/test/java/net/gredler/aegis4j/AegisAgentCommandLineTest.java +++ b/tools/aegis4j/src/test/java/net/gredler/aegis4j/AegisAgentCommandLineTest.java @@ -48,7 +48,7 @@ public class AegisAgentCommandLineTest { String main = Main.class.getName(); String cp = System.getProperty("java.class.path"); Process process = new ProcessBuilder("java", "-javaagent:" + jar + "=" + config, "-cp", cp, main).start(); - process.waitFor(10, TimeUnit.SECONDS); + process.waitFor(100, TimeUnit.SECONDS); assertFalse(process.isAlive()); String out = new String(TestUtils.inputStreamReadAllBytes(process.getInputStream()), UTF_8);