disable fake fqdn
This commit is contained in:
parent
8aa114b220
commit
2d38a11fbb
|
@ -15,6 +15,7 @@ public class TestFQDN extends SigarTestCase {
|
||||||
traceln("fqdn=" + fqdn);
|
traceln("fqdn=" + fqdn);
|
||||||
|
|
||||||
boolean validFQDN = fqdn.indexOf(".") > 0;
|
boolean validFQDN = fqdn.indexOf(".") > 0;
|
||||||
|
/*
|
||||||
if (!validFQDN) {
|
if (!validFQDN) {
|
||||||
//wont get a valid fqdn on laptop at home
|
//wont get a valid fqdn on laptop at home
|
||||||
//allow to fake with ant -Dsigar.fqdn=foo.bar
|
//allow to fake with ant -Dsigar.fqdn=foo.bar
|
||||||
|
@ -29,6 +30,7 @@ public class TestFQDN extends SigarTestCase {
|
||||||
validFQDN = fake.indexOf(".") > 0;
|
validFQDN = fake.indexOf(".") > 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
assertTrue(validFQDN);
|
assertTrue(validFQDN);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue