hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [2/2] hbase git commit: HBASE-14197 TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins
Date Tue, 11 Aug 2015 01:23:00 GMT
HBASE-14197 TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/111620f5
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/111620f5
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/111620f5

Branch: refs/heads/branch-1.1
Commit: 111620f5c9f999cfac78936a8ddb550abf3164c5
Parents: 22b9683
Author: tedyu <yuzhihong@gmail.com>
Authored: Fri Aug 7 18:47:38 2015 -0700
Committer: Andrew Purtell <apurtell@apache.org>
Committed: Mon Aug 10 18:18:47 2015 -0700

----------------------------------------------------------------------
 .../hadoop/hbase/regionserver/TestRegionServerHostname.java      | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/111620f5/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
index 15ff5a1..29af324 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/TestRegionServerHostname.java
@@ -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();


Mime
View raw message