Skip to content

Commit

Permalink
Allow GraalVmStarterTests to run remotely on Test Distribution agents
Browse files Browse the repository at this point in the history
(cherry picked from commit 9ec15c7)
  • Loading branch information
marcphilipp committed Jun 17, 2024
1 parent 4bda14d commit 76b7c05
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -31,7 +29,6 @@
/**
* @since 1.9.1
*/
@LocalOnly(because = "GraalVM is not installed on Test Distribution agents")
class GraalVmStarterTests {

@Test
Expand All @@ -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();
Expand Down

0 comments on commit 76b7c05

Please sign in to comment.