HBASE-14197 TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins
This commit is contained in:
parent
68cb53d151
commit
05a9638085
@ -54,7 +54,9 @@ public class TestRegionServerHostname {
|
||||
} catch (IOException ioe) {
|
||||
Throwable t1 = ioe.getCause();
|
||||
Throwable t2 = t1.getCause();
|
||||
assertTrue(t2.getMessage().contains("Failed resolve of " + invalidHostname));
|
||||
assertTrue(t1.getMessage() + " - " + t2.getMessage(),
|
||||
t2.getMessage().contains("Failed resolve of " + invalidHostname) ||
|
||||
t2.getMessage().contains("Problem binding to " + invalidHostname));
|
||||
return;
|
||||
} finally {
|
||||
TEST_UTIL.shutdownMiniCluster();
|
||||
|
Loading…
x
Reference in New Issue
Block a user