HBASE-8052 TestHBaseFsck#testQuarantineMissingFamdir fails sporadically

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1454571 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2013-03-08 21:18:56 +00:00
parent 93a08a9751
commit 7f2768955c
1 changed files with 4 additions and 1 deletions

View File

@ -87,6 +87,7 @@ import org.apache.zookeeper.KeeperException;
import org.junit.AfterClass; import org.junit.AfterClass;
import org.junit.BeforeClass; import org.junit.BeforeClass;
import org.junit.Test; import org.junit.Test;
import org.junit.Ignore;
import org.junit.experimental.categories.Category; import org.junit.experimental.categories.Category;
import org.junit.rules.TestName; import org.junit.rules.TestName;
@ -1729,7 +1730,9 @@ public class TestHBaseFsck {
* This creates a table and simulates the race situation where a concurrent compaction or split * This creates a table and simulates the race situation where a concurrent compaction or split
* has removed an colfam dir before the corruption checker got to it. * has removed an colfam dir before the corruption checker got to it.
*/ */
@Test(timeout=120000) // Disabled because fails sporadically. Is this test right? Timing-wise, there could be no
// files in a column family on initial creation -- as suggested by Matteo.
@Ignore @Test(timeout=120000)
public void testQuarantineMissingFamdir() throws Exception { public void testQuarantineMissingFamdir() throws Exception {
String table = name.getMethodName(); String table = name.getMethodName();
ExecutorService exec = new ScheduledThreadPoolExecutor(10); ExecutorService exec = new ScheduledThreadPoolExecutor(10);