Commit 8b8f667a authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

use wll known host name in junits

parent f7cac879
......@@ -28,7 +28,7 @@ public class NFSv4StateHandlerTest {
}
static NFS4Client createClient() throws UnknownHostException {
InetSocketAddress address = new InetSocketAddress(InetAddress.getLocalHost(), 123);
InetSocketAddress address = new InetSocketAddress(InetAddress.getByName("www.google.com"), 123);
NFS4Client client = new NFS4Client(address, address, "123".getBytes(),
new verifier4("123".getBytes()), null);
return client;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment