hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From apurt...@apache.org
Subject [1/2] hbase git commit: HBASE-14197 TestRegionServerHostname#testInvalidRegionServerHostnameAbortsServer fails in Jenkins
Date Tue, 11 Aug 2015 01:22:59 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 22b968315 -> 111620f5c
  refs/heads/branch-1.2 323e48ada -> e6fb779f5


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/e6fb779f
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/e6fb779f
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/e6fb779f

Branch: refs/heads/branch-1.2
Commit: e6fb779f50f9a779302e907aa4bc7551e7f6ef0d
Parents: 323e48a
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:44 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/e6fb779f/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