HBASE-15194 TestStochasticLoadBalancer.testRegionReplicationOnMidClusterSameHosts flaky on trunk

This commit is contained in:
stack 2016-02-02 13:44:21 -08:00
parent 3cc80e37c6
commit 1bf58675c7
1 changed files with 2 additions and 1 deletions

View File

@ -50,6 +50,7 @@ import org.apache.hadoop.hbase.master.balancer.BaseLoadBalancer.Cluster;
import org.apache.hadoop.hbase.testclassification.FlakeyTests;
import org.apache.hadoop.hbase.testclassification.MediumTests;
import org.apache.hadoop.hbase.util.Bytes;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.experimental.categories.Category;
@ -464,7 +465,7 @@ public class TestStochasticLoadBalancer extends BalancerTestBase {
testWithCluster(numNodes, numRegions, numRegionsPerServer, replication, numTables, true, true);
}
@Test (timeout = 800000)
@Ignore @Test (timeout = 800000) // Test is flakey. TODO: Fix!
public void testRegionReplicationOnMidClusterSameHosts() {
conf.setLong(StochasticLoadBalancer.MAX_STEPS_KEY, 2000000L);
conf.setLong("hbase.master.balancer.stochastic.maxRunningTime", 90 * 1000); // 90 sec