Details
-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
None
-
False
Description
While we were looking at ENTMQBR-6719 with Domenico we figured out, that ping command on Windows uses
-w timeout Timeout in milliseconds to wait for each reply. while in code is used seconds.
String IPV6_DEFAULT_COMMAND = Env.isWindowsOs() ? "ping -n 1 -w %d %s" : .... // default int networkTimeout = 1000; long timeout = Math.max(1, TimeUnit.MILLISECONDS.toSeconds(networkTimeout)); ... processBuilder = buildProcess(ipv6Command, timeout, address.getCanonicalHostName()
Attachments
Issue Links
- relates to
-
ENTMQBR-6719 Ping command for IPv6 is wrong on Windows
- Verified
- mentioned in
-
Page Loading...