From 6fc289bad1c27f44f64e065871de83838b953f10 Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Mon, 27 Mar 2023 18:01:35 +0200 Subject: [PATCH] Disable tests on Windows --- .../io/quarkus/gradle/GrpcMultiModuleQuarkusBuildTest.java | 3 +++ .../java/io/quarkus/gradle/KotlinGRPCProjectBuildTest.java | 3 +++ .../devmode/KotlinProjectWithCompilerArgsDevModeTest.java | 4 ++++ .../quarkus/gradle/devmode/MultiSourceProjectDevModeTest.java | 4 ++++ 4 files changed, 14 insertions(+) diff --git a/integration-tests/gradle/src/test/java/io/quarkus/gradle/GrpcMultiModuleQuarkusBuildTest.java b/integration-tests/gradle/src/test/java/io/quarkus/gradle/GrpcMultiModuleQuarkusBuildTest.java index 4ae97ee4a8c22..8e56dbc24ad5c 100644 --- a/integration-tests/gradle/src/test/java/io/quarkus/gradle/GrpcMultiModuleQuarkusBuildTest.java +++ b/integration-tests/gradle/src/test/java/io/quarkus/gradle/GrpcMultiModuleQuarkusBuildTest.java @@ -8,10 +8,13 @@ import java.nio.file.Path; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; public class GrpcMultiModuleQuarkusBuildTest extends QuarkusGradleWrapperTestBase { @Test + @DisabledOnOs(OS.WINDOWS) public void testGrpcMultiModuleBuild() throws Exception { final File projectDir = getProjectDir("grpc-multi-module-project"); diff --git a/integration-tests/gradle/src/test/java/io/quarkus/gradle/KotlinGRPCProjectBuildTest.java b/integration-tests/gradle/src/test/java/io/quarkus/gradle/KotlinGRPCProjectBuildTest.java index 7651be57e8496..9d50a5a621f03 100644 --- a/integration-tests/gradle/src/test/java/io/quarkus/gradle/KotlinGRPCProjectBuildTest.java +++ b/integration-tests/gradle/src/test/java/io/quarkus/gradle/KotlinGRPCProjectBuildTest.java @@ -5,10 +5,13 @@ import java.io.File; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; public class KotlinGRPCProjectBuildTest extends QuarkusGradleWrapperTestBase { @Test + @DisabledOnOs(OS.WINDOWS) public void testBasicMultiModuleBuild() throws Exception { final File projectDir = getProjectDir("kotlin-grpc-project"); final BuildResult build = runGradleWrapper(projectDir, "clean", "build"); diff --git a/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/KotlinProjectWithCompilerArgsDevModeTest.java b/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/KotlinProjectWithCompilerArgsDevModeTest.java index e2499fdacb17e..1a785c3c4a043 100644 --- a/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/KotlinProjectWithCompilerArgsDevModeTest.java +++ b/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/KotlinProjectWithCompilerArgsDevModeTest.java @@ -4,8 +4,12 @@ import java.util.concurrent.TimeUnit; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; + import com.google.common.collect.ImmutableMap; +@DisabledOnOs(OS.WINDOWS) public class KotlinProjectWithCompilerArgsDevModeTest extends QuarkusDevGradleTestBase { @Override protected String projectDirectoryName() { diff --git a/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/MultiSourceProjectDevModeTest.java b/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/MultiSourceProjectDevModeTest.java index ff2e1ee025ccd..47da185fb9cc5 100644 --- a/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/MultiSourceProjectDevModeTest.java +++ b/integration-tests/gradle/src/test/java/io/quarkus/gradle/devmode/MultiSourceProjectDevModeTest.java @@ -2,9 +2,13 @@ import static org.assertj.core.api.Assertions.assertThat; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; + import com.google.common.collect.ImmutableMap; @org.junit.jupiter.api.Tag("failsOnJDK19") +@DisabledOnOs(OS.WINDOWS) public class MultiSourceProjectDevModeTest extends QuarkusDevGradleTestBase { @Override