HBASE-20011 Disable TestRestoreSnapshotFromClientWithRegionReplicas; it is flakey. Needs attention.

This commit is contained in:
Michael Stack 2018-02-16 14:45:55 -08:00
parent 33212cf6c8
commit d59959d19e
2 changed files with 2 additions and 4 deletions

View File

@ -892,10 +892,6 @@ public class HRegion implements HeapSize, PropagatingConfigurationObserver, Regi
if (this.getRegionInfo().getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) { if (this.getRegionInfo().getReplicaId() == RegionInfo.DEFAULT_REPLICA_ID) {
status.setStatus("Writing region info on filesystem"); status.setStatus("Writing region info on filesystem");
fs.checkRegionInfoOnFilesystem(); fs.checkRegionInfoOnFilesystem();
} else {
if (LOG.isDebugEnabled()) {
LOG.debug("Skipping creation of .regioninfo file for " + this.getRegionInfo());
}
} }
// Initialize all the HStores // Initialize all the HStores

View File

@ -25,10 +25,12 @@ import org.apache.hadoop.hbase.TableName;
import org.apache.hadoop.hbase.testclassification.ClientTests; import org.apache.hadoop.hbase.testclassification.ClientTests;
import org.apache.hadoop.hbase.testclassification.LargeTests; import org.apache.hadoop.hbase.testclassification.LargeTests;
import org.junit.ClassRule; import org.junit.ClassRule;
import org.junit.Ignore;
import org.junit.Test; import org.junit.Test;
import org.junit.experimental.categories.Category; import org.junit.experimental.categories.Category;
@Ignore // Disabled because flakey. See HBASE-20006.
@Category({LargeTests.class, ClientTests.class}) @Category({LargeTests.class, ClientTests.class})
public class TestRestoreSnapshotFromClientWithRegionReplicas extends public class TestRestoreSnapshotFromClientWithRegionReplicas extends
TestRestoreSnapshotFromClient { TestRestoreSnapshotFromClient {