mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
ARPPingerTest fails on macos-15
This commit is contained in:
parent
4687ab6436
commit
ff8b59552d
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user