From 29a96193ae87b59e98882b7e5728a5bfe18b62f7 Mon Sep 17 00:00:00 2001 From: "James R. Perkins" Date: Wed, 15 Nov 2023 11:12:29 -0800 Subject: [PATCH] Skip the ImageTest.testBuildImage on Windows as the test is flaky on CI. Signed-off-by: James R. Perkins --- .../src/test/java/org/wildfly/plugin/provision/ImageTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ImageTest.java b/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ImageTest.java index a020a88d..2c0d3c7b 100644 --- a/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ImageTest.java +++ b/tests/standalone-tests/src/test/java/org/wildfly/plugin/provision/ImageTest.java @@ -30,10 +30,12 @@ import org.apache.maven.plugin.Mojo; import org.apache.maven.plugin.MojoExecutionException; +import org.junit.Assume; import org.junit.BeforeClass; import org.junit.Test; import org.wildfly.plugin.tests.AbstractProvisionConfiguredMojoTestCase; import org.wildfly.plugin.tests.AbstractWildFlyMojoTest; +import org.wildfly.plugin.tests.TestEnvironment; public class ImageTest extends AbstractProvisionConfiguredMojoTestCase { @@ -49,6 +51,7 @@ public static void checkDockerInstallation() { @Test public void testBuildImage() throws Exception { + Assume.assumeFalse("This test is flaky on Windows, ignore it on Windows.", TestEnvironment.isWindows()); final String binary = ExecUtil.resolveImageBinary(); try { assertTrue(