HBASE-14197 TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins
This commit is contained in:
parent
ea8833fd63
commit
d4fc7cf2ba
|
@ -62,7 +62,9 @@ public class TestRegionServerHostname {
|
||||||
} catch (IOException ioe) {
|
} catch (IOException ioe) {
|
||||||
Throwable t1 = ioe.getCause();
|
Throwable t1 = ioe.getCause();
|
||||||
Throwable t2 = t1.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;
|
return;
|
||||||
} finally {
|
} finally {
|
||||||
TEST_UTIL.shutdownMiniCluster();
|
TEST_UTIL.shutdownMiniCluster();
|
||||||
|
|
Loading…
Reference in New Issue