From 76719bb085c1e395824af8d941ed40b9ac359d1d Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Sat, 17 Sep 2022 13:27:02 +0200 Subject: [PATCH] Increase timeout for GraalVM test Timed out on CI --- .../platform/tooling/support/tests/GraalVmStarterTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/GraalVmStarterTests.java b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/GraalVmStarterTests.java index 0d3c8dd5bced..526393d13a47 100644 --- a/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/GraalVmStarterTests.java +++ b/platform-tooling-support-tests/src/test/java/platform/tooling/support/tests/GraalVmStarterTests.java @@ -14,10 +14,10 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assumptions.assumeFalse; -import static platform.tooling.support.Helper.TOOL_TIMEOUT; import static platform.tooling.support.tests.XmlAssertions.verifyContainsExpectedStartedOpenTestReport; import java.nio.file.Paths; +import java.time.Duration; import de.sormuras.bartholdy.tool.GradleWrapper; @@ -38,7 +38,7 @@ void runsTestsInNativeImage() { .setProject("graalvm-starter") // .addArguments("-Dmaven.repo=" + MavenRepo.dir()) // .addArguments("javaToolchains", "nativeTest", "--no-daemon", "--stacktrace") // - .setTimeout(TOOL_TIMEOUT) // + .setTimeout(Duration.ofMinutes(5)) // .build(); var result = request.run();