ARPPingerTest fails on macos-15

This commit is contained in:
Anton Keks 2025-08-18 23:47:31 +03:00
parent 4687ab6436
commit ff8b59552d
2 changed files with 15 additions and 2 deletions

View File

@ -1,7 +1,20 @@
package net.azib.ipscan.core.net;
import net.azib.ipscan.config.Platform;
import org.junit.Test;
import java.io.IOException;
import static org.junit.Assume.assumeFalse;
public class ARPPingerTest extends AbstractPingerTest {
public ARPPingerTest() throws Exception {
super(ARPPinger.class);
}
@Test @Override
public void pingAlive() throws IOException {
assumeFalse(Platform.MAC_OS);
super.pingAlive();
}
}

View File

@ -5,7 +5,7 @@ import org.junit.Test;
import java.io.IOException;
import static org.junit.Assume.assumeTrue;
import static org.junit.Assume.assumeFalse;
public class UDPPingerTest extends AbstractPingerTest {
public UDPPingerTest() throws Exception {
@ -14,7 +14,7 @@ public class UDPPingerTest extends AbstractPingerTest {
@Test @Override
public void pingAlive() throws IOException {
assumeTrue(Platform.LINUX);
assumeFalse(Platform.WINDOWS);
super.pingAlive();
}
}