hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject git commit: HBASE-12172 Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker on 1.0
Date Mon, 06 Oct 2014 17:20:53 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 8a50a0cce -> 5f6a055bb


HBASE-12172 Disable flakey TestRegionReplicaReplicationEndpoint and make fixing it a blocker
on 1.0


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

Branch: refs/heads/master
Commit: 5f6a055bb697ad137e8d372a4c377f969699b009
Parents: 8a50a0c
Author: stack <stack@apache.org>
Authored: Mon Oct 6 10:20:44 2014 -0700
Committer: stack <stack@apache.org>
Committed: Mon Oct 6 10:20:44 2014 -0700

----------------------------------------------------------------------
 .../TestRegionReplicaReplicationEndpoint.java          | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/5f6a055b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
index 6d5a3c9..928a813 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/replication/regionserver/TestRegionReplicaReplicationEndpoint.java
@@ -58,6 +58,7 @@ import org.apache.hadoop.hbase.zookeeper.ZKUtil;
 import org.apache.log4j.Level;
 import org.junit.AfterClass;
 import org.junit.BeforeClass;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.junit.experimental.categories.Category;
 
@@ -82,6 +83,7 @@ public class TestRegionReplicaReplicationEndpoint {
 
   @BeforeClass
   public static void beforeClass() throws Exception {
+    /*
     Configuration conf = HTU.getConfiguration();
     conf.setFloat("hbase.regionserver.logroll.multiplier", 0.0003f);
     conf.setInt("replication.source.size.capacity", 10240);
@@ -98,14 +100,17 @@ public class TestRegionReplicaReplicationEndpoint {
     conf.setInt(HConstants.HBASE_CLIENT_RETRIES_NUMBER, 3); // less number of retries is
needed
     conf.setInt("hbase.client.serverside.retries.multiplier", 1);
 
-    HTU.startMiniCluster(NB_SERVERS);
+    HTU.startMiniCluster(NB_SERVERS);*/
   }
 
   @AfterClass
   public static void afterClass() throws Exception {
+    /*
     HTU.shutdownMiniCluster();
+    */
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test
   public void testRegionReplicaReplicationPeerIsCreated() throws IOException, ReplicationException
{
     // create a table with region replicas. Check whether the replication peer is created
@@ -209,21 +214,25 @@ public class TestRegionReplicaReplicationEndpoint {
     }
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test(timeout = 60000)
   public void testRegionReplicaReplicationWith2Replicas() throws Exception {
     testRegionReplicaReplication(2);
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test(timeout = 60000)
   public void testRegionReplicaReplicationWith3Replicas() throws Exception {
     testRegionReplicaReplication(3);
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test(timeout = 60000)
   public void testRegionReplicaReplicationWith10Replicas() throws Exception {
     testRegionReplicaReplication(10);
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test (timeout = 60000)
   public void testRegionReplicaReplicationForFlushAndCompaction() throws Exception {
     // Tests a table with region replication 3. Writes some data, and causes flushes and
@@ -259,11 +268,13 @@ public class TestRegionReplicaReplicationEndpoint {
     }
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test (timeout = 60000)
   public void testRegionReplicaReplicationIgnoresDisabledTables() throws Exception {
     testRegionReplicaReplicationIgnoresDisabledTables(false);
   }
 
+  @Ignore("To be fixed before 1.0")
   @Test (timeout = 60000)
   public void testRegionReplicaReplicationIgnoresDroppedTables() throws Exception {
     testRegionReplicaReplicationIgnoresDisabledTables(true);


Mime
View raw message