Skip to content

Commit

Permalink
Disable a test on macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
snazy committed Jun 12, 2024
1 parent fe3d11e commit d62e37f
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit d62e37f

Please sign in to comment.