try {
int exitValue = getTestExitValue();
Vector<String> output = getTestOutput();
if (!isIsTestMode()) {
ResolveHostCommand resolveHostCommand = new ResolveHostCommand(host.getResolveTimeout());
resolveHostCommand.execute(value);
exitValue = resolveHostCommand.getExitValue();
name = resolveHostCommand.getHostName(); //If IP can't be resolved takes took long on windows
ip = resolveHostCommand.getHostAddress();
if (exitValue != EXIT_VAL_SUCCESS || ip.equals(name)) {
throw new UnknownHostException(ip);
}