Skip to content

Commit

Permalink
Skip the ImageTest.testBuildImage on Windows as the test is flaky on CI.
Browse files Browse the repository at this point in the history
Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Nov 15, 2023
1 parent 5ca4a5b commit 29a9619
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

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

0 comments on commit 29a9619

Please sign in to comment.