From 11cda4912648786bec25340c298708a8e3a7e9db Mon Sep 17 00:00:00 2001 From: Tomas Zezula Date: Fri, 18 Oct 2024 08:39:23 +0200 Subject: [PATCH] [GR-46615] ProcessBuilderTest did not finish in time. --- .../oracle/truffle/api/test/polyglot/ProcessBuilderTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/polyglot/ProcessBuilderTest.java b/truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/polyglot/ProcessBuilderTest.java index 7eef70653c33..c9ed2bf1fa0a 100644 --- a/truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/polyglot/ProcessBuilderTest.java +++ b/truffle/src/com.oracle.truffle.api.test/src/com/oracle/truffle/api/test/polyglot/ProcessBuilderTest.java @@ -181,7 +181,7 @@ protected Object execute(RootNode node, Env env, Object[] contextArguments, Obje ByteArrayOutputStream stderr = new ByteArrayOutputStream(); TruffleProcessBuilder builder = env.newProcessBuilder(toStringArray(frameArguments)); Process p = builder.redirectOutput(builder.createRedirectToStream(stdout)).redirectError(builder.createRedirectToStream(stderr)).start(); - if (!p.waitFor(30, TimeUnit.SECONDS)) { + if (!p.waitFor(60, TimeUnit.SECONDS)) { p.destroy(); Assert.fail("Process did not finish in expected time."); }