From d62e37f3954175dd272ed1641a1d0cb42e3c962d Mon Sep 17 00:00:00 2001 From: Robert Stupp Date: Tue, 11 Jun 2024 20:20:39 -0500 Subject: [PATCH] Disable a test on macOS --- .../quarkus/providers/storage/TestAddressResolver.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/quarkus-common/src/test/java/org/projectnessie/quarkus/providers/storage/TestAddressResolver.java b/servers/quarkus-common/src/test/java/org/projectnessie/quarkus/providers/storage/TestAddressResolver.java index 35763811930..49353d9b530 100644 --- a/servers/quarkus-common/src/test/java/org/projectnessie/quarkus/providers/storage/TestAddressResolver.java +++ b/servers/quarkus-common/src/test/java/org/projectnessie/quarkus/providers/storage/TestAddressResolver.java @@ -28,6 +28,8 @@ import org.junit.jupiter.api.AfterEach; import org.junit.jupiter.api.BeforeEach; 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; @ExtendWith(SoftAssertionsExtension.class) @@ -69,6 +71,7 @@ public void resolveNoName() throws Exception { } @Test + @DisabledOnOs(value = OS.MAC, disabledReason = "Resolving 'localhost' doesn't work on macOS") public void resolveSingleName() throws Exception { soft.assertThat( new AddressResolver(dnsClient)