HBASE-12954 Addendum uses invalid TLD in test
This commit is contained in:
parent
a398b2400b
commit
64449e2ae7
|
@ -55,7 +55,7 @@ public class TestRegionServerHostname {
|
||||||
public void testInvalidRegionServerHostnameAbortsServer() throws Exception {
|
public void testInvalidRegionServerHostnameAbortsServer() throws Exception {
|
||||||
final int NUM_MASTERS = 1;
|
final int NUM_MASTERS = 1;
|
||||||
final int NUM_RS = 1;
|
final int NUM_RS = 1;
|
||||||
String invalidHostname = "hostAddr";
|
String invalidHostname = "hostAddr.invalid";
|
||||||
TEST_UTIL.getConfiguration().set(HRegionServer.HOSTNAME_KEY, invalidHostname);
|
TEST_UTIL.getConfiguration().set(HRegionServer.HOSTNAME_KEY, invalidHostname);
|
||||||
try {
|
try {
|
||||||
TEST_UTIL.startMiniCluster(NUM_MASTERS, NUM_RS);
|
TEST_UTIL.startMiniCluster(NUM_MASTERS, NUM_RS);
|
||||||
|
|
Loading…
Reference in New Issue