From a5eb417c20100abb1ee400d79fd330ab2c5b6cb6 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Wed, 18 Jan 2023 16:26:19 +1100 Subject: [PATCH] fix: restrict tests with reverse lookups to Linux agents #405 --- .../java/au/com/dius/pact/consumer/junit5/Ip6KTorTest.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/consumer/junit5/src/test/java/au/com/dius/pact/consumer/junit5/Ip6KTorTest.java b/consumer/junit5/src/test/java/au/com/dius/pact/consumer/junit5/Ip6KTorTest.java index 7e3a17a2d..7ba3aac2b 100644 --- a/consumer/junit5/src/test/java/au/com/dius/pact/consumer/junit5/Ip6KTorTest.java +++ b/consumer/junit5/src/test/java/au/com/dius/pact/consumer/junit5/Ip6KTorTest.java @@ -10,6 +10,8 @@ import org.apache.hc.client5.http.fluent.Request; import org.apache.hc.core5.http.ClassicHttpResponse; import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.condition.DisabledOnOs; +import org.junit.jupiter.api.condition.OS; import org.junit.jupiter.api.extension.ExtendWith; import java.io.IOException; @@ -21,6 +23,7 @@ @ExtendWith(PactConsumerTestExt.class) @PactTestFor(providerName = "ip6_provider", pactVersion = PactSpecVersion.V3) @MockServerConfig(hostInterface = "::1", port = "1234", implementation = MockServerImplementation.KTorServer) +@DisabledOnOs(OS.WINDOWS) public class Ip6KTorTest { @Pact(consumer = "ApiConsumer") public RequestResponsePact articles(PactDslWithProvider builder) {