Skip to content

Commit

Permalink
Ignore ClientSNIAcceptanceTest on windows (apache#4837)
Browse files Browse the repository at this point in the history
Our windows CI machines don't have docker-compose, so don't run this test.
  • Loading branch information
upthewaterspout authored Mar 21, 2020
1 parent 53f1e1a commit f6ebc63
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
import java.util.Properties;

import com.palantir.docker.compose.DockerComposeRule;
import org.apache.commons.lang3.SystemUtils;
import org.junit.Assume;
import org.junit.Before;
import org.junit.ClassRule;
import org.junit.Test;
Expand All @@ -52,6 +54,12 @@ public class ClientSNIAcceptanceTest {

private String trustStorePath;

@Before
public void ignoreOnWindows() {
// Docker compose does not work on windows in CI
Assume.assumeFalse(SystemUtils.IS_OS_WINDOWS);
}

@Before
public void before() throws IOException, InterruptedException {
trustStorePath =
Expand Down

0 comments on commit f6ebc63

Please sign in to comment.