HBASE-14908 TestRowCounter flakey especially on branch-1

This commit is contained in:
stack 2015-12-02 10:19:13 -08:00
parent f730a375e3
commit 81de832732
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ import org.apache.commons.logging.LogFactory;
import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.conf.Configuration;
import org.apache.hadoop.hbase.CategoryBasedTimeout; import org.apache.hadoop.hbase.CategoryBasedTimeout;
import org.apache.hadoop.hbase.HBaseTestingUtility; import org.apache.hadoop.hbase.HBaseTestingUtility;
import org.apache.hadoop.hbase.testclassification.MediumTests; import org.apache.hadoop.hbase.testclassification.LargeTests;
import org.apache.hadoop.hbase.TableName; import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.HTable;
import org.apache.hadoop.hbase.client.Put; import org.apache.hadoop.hbase.client.Put;
@ -53,7 +53,7 @@ import org.junit.rules.TestRule;
/** /**
* Test the rowcounter map reduce job. * Test the rowcounter map reduce job.
*/ */
@Category(MediumTests.class) @Category(LargeTests.class)
public class TestRowCounter { public class TestRowCounter {
@Rule public final TestRule timeout = CategoryBasedTimeout.builder(). @Rule public final TestRule timeout = CategoryBasedTimeout.builder().
withTimeout(this.getClass()).withLookingForStuckThread(true).build(); withTimeout(this.getClass()).withLookingForStuckThread(true).build();