From 76b7c050ed554df65ea75c1ed8a01d6ebe027e37 Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Wed, 7 Feb 2024 09:28:26 +0100 Subject: [PATCH] Allow GraalVmStarterTests to run remotely on Test Distribution agents (cherry picked from commit 9ec15c75d3cca1ea608d52bb7ca85d2282b46a7c) --- .../platform/tooling/support/tests/GraalVmStarterTests.java | 5 +---- 1 file changed, 1 insertion(+), 4 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 7da00f860e9..ee9fe2b769e 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 @@ -21,8 +21,6 @@ import de.sormuras.bartholdy.tool.GradleWrapper; -import com.gradle.enterprise.testing.annotations.LocalOnly; - import org.junit.jupiter.api.Test; import platform.tooling.support.MavenRepo; @@ -31,7 +29,6 @@ /** * @since 1.9.1 */ -@LocalOnly(because = "GraalVM is not installed on Test Distribution agents") class GraalVmStarterTests { @Test @@ -42,7 +39,7 @@ void runsTestsInNativeImage() { .addArguments("-Dmaven.repo=" + MavenRepo.dir()) // .addArguments("javaToolchains", "nativeTest", "--no-daemon", "--stacktrace") // .addArguments("-Porg.gradle.java.installations.fromEnv=GRAALVM_HOME") // - .setTimeout(Duration.ofMinutes(5)) // + .setTimeout(Duration.ofMinutes(10)) // .build(); var result = request.run();