mirror of
https://github.com/angryip/ipscan.git
synced 2025-10-26 11:18:17 +00:00
reduce pinging count in test
This commit is contained in:
parent
94ad034c55
commit
29d120f5fe
@ -18,7 +18,7 @@ abstract class AbstractPingerTest {
|
||||
|
||||
@Test
|
||||
public void pingAlive() throws IOException {
|
||||
PingResult result = pinger.ping(new ScanningSubject(InetAddress.getLocalHost()), 3);
|
||||
PingResult result = pinger.ping(new ScanningSubject(InetAddress.getLocalHost()), 2);
|
||||
assertTrue(result.isAlive());
|
||||
assertTrue(result.getAverageTime() <= 10);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user