hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject hbase git commit: HBASE-14519 Purge TestFavoredNodeAssignmentHelper, a test for an abandoned feature that can hang
Date Fri, 02 Oct 2015 20:31:17 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1.1 fe40a4b78 -> 6e02fb946


HBASE-14519 Purge TestFavoredNodeAssignmentHelper, a test for an abandoned feature that can
hang


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

Branch: refs/heads/branch-1.1
Commit: 6e02fb9464fbf7a354ad49954f0729116e45ae4e
Parents: fe40a4b
Author: stack <stack@apache.org>
Authored: Fri Oct 2 13:29:39 2015 -0700
Committer: stack <stack@apache.org>
Committed: Fri Oct 2 13:31:10 2015 -0700

----------------------------------------------------------------------
 .../balancer/TestFavoredNodeAssignmentHelper.java  | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/6e02fb94/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredNodeAssignmentHelper.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredNodeAssignmentHelper.java
b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredNodeAssignmentHelper.java
index a218399..4997049 100644
--- a/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredNodeAssignmentHelper.java
+++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/master/balancer/TestFavoredNodeAssignmentHelper.java
@@ -38,6 +38,7 @@ import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.util.Triple;
 import org.junit.BeforeClass;
 import org.junit.Test;
+import org.junit.Ignore;
 import org.junit.experimental.categories.Category;
 import org.mockito.Mockito;
 
@@ -97,7 +98,7 @@ public class TestFavoredNodeAssignmentHelper {
     return chosenServers;
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSmallCluster() {
     // Test the case where we cannot assign favored nodes (because the number
     // of nodes in the cluster is too less)
@@ -109,7 +110,7 @@ public class TestFavoredNodeAssignmentHelper {
     assertFalse(helper.canPlaceFavoredNodes());
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testPlacePrimaryRSAsRoundRobin() {
     // Test the regular case where there are many servers in different racks
     // Test once for few regions and once for many regions
@@ -118,7 +119,7 @@ public class TestFavoredNodeAssignmentHelper {
     primaryRSPlacement(600, null, 10, 10, 10);
   }
   
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testRoundRobinAssignmentsWithUnevenSizedRacks() {
     //In the case of uneven racks, the regions should be distributed 
     //proportionately to the rack sizes
@@ -135,7 +136,7 @@ public class TestFavoredNodeAssignmentHelper {
     primaryRSPlacement(459, null, 7, 9, 8);
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSecondaryAndTertiaryPlacementWithSingleRack() {
     // Test the case where there is a single rack and we need to choose
     // Primary/Secondary/Tertiary from a single rack.
@@ -159,7 +160,7 @@ public class TestFavoredNodeAssignmentHelper {
     }
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSecondaryAndTertiaryPlacementWithSingleServer() {
     // Test the case where we have a single node in the cluster. In this case
     // the primary can be assigned but the secondary/tertiary would be null
@@ -177,7 +178,7 @@ public class TestFavoredNodeAssignmentHelper {
     assertTrue(secondaryAndTertiaryMap.get(regions.get(0)) == null);
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSecondaryAndTertiaryPlacementWithMultipleRacks() {
     // Test the case where we have multiple racks and the region servers
     // belong to multiple racks
@@ -206,7 +207,7 @@ public class TestFavoredNodeAssignmentHelper {
     }
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSecondaryAndTertiaryPlacementWithLessThanTwoServersInRacks() {
     // Test the case where we have two racks but with less than two servers in each
     // We will not have enough machines to select secondary/tertiary
@@ -227,7 +228,7 @@ public class TestFavoredNodeAssignmentHelper {
     }
   }
 
-  @Test
+  @Ignore("Disabled for now until FavoredNodes gets finished as a feature") @Test
   public void testSecondaryAndTertiaryPlacementWithMoreThanOneServerInPrimaryRack() {
     // Test the case where there is only one server in one rack and another rack
     // has more servers. We try to choose secondary/tertiary on different


Mime
View raw message