Commit 3f635877 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

junit: use well knows hostnames

parent 906ab833
......@@ -60,8 +60,8 @@ public class FsExportTest {
public void testTrustedMultimpleClients() throws UnknownHostException {
FsExport export = _exportFile.getExport("/trusted");
InetAddress trusted = InetAddress.getByName("nairi.desy.de");
InetAddress nontrusted = InetAddress.getByName("ani.desy.de");
InetAddress trusted = InetAddress.getByName("www.google.com");
InetAddress nontrusted = InetAddress.getByName("www.yahoo.com");
assertTrue("trusted host not respected", export.isTrusted(trusted) );
assertFalse("nontrusted host respected", export.isTrusted(nontrusted) );
......
......@@ -6,7 +6,7 @@
/pnfs localhost(rw,no_root_squash)
/h1 h1.desy.de
/h2 client1 client2
/trusted nairi.desy.de(no_root_squash) ani.desy.de
/trusted www.google.com(no_root_squash) www.yahoo.com
/subnet_b 192.168.2.1/24
/subnet_c 192.168.2.1/16
/subnet_bad 192.168.2.1/16/32
\ No newline at end of file
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