HBASE-19881 Promote TestRegionReplicaReplicationEndpoint to LargeTests

This commit is contained in:
zhangduo 2018-01-29 13:31:58 +08:00
parent b75c85a075
commit cdda0a79ea
1 changed files with 6 additions and 3 deletions

View File

@ -17,7 +17,10 @@
*/ */
package org.apache.hadoop.hbase.replication.regionserver; package org.apache.hadoop.hbase.replication.regionserver;
import static org.junit.Assert.*; import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNotNull;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.fail;
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.mock;
import static org.mockito.Mockito.when; import static org.mockito.Mockito.when;
@ -49,7 +52,7 @@ import org.apache.hadoop.hbase.wal.WALEdit;
import org.apache.hadoop.hbase.replication.ReplicationException; import org.apache.hadoop.hbase.replication.ReplicationException;
import org.apache.hadoop.hbase.replication.ReplicationPeerConfig; import org.apache.hadoop.hbase.replication.ReplicationPeerConfig;
import org.apache.hadoop.hbase.testclassification.FlakeyTests; import org.apache.hadoop.hbase.testclassification.FlakeyTests;
import org.apache.hadoop.hbase.testclassification.MediumTests; import org.apache.hadoop.hbase.testclassification.LargeTests;
import org.apache.hadoop.hbase.util.ServerRegionReplicaUtil; import org.apache.hadoop.hbase.util.ServerRegionReplicaUtil;
import org.apache.hadoop.hbase.zookeeper.ZKConfig; import org.apache.hadoop.hbase.zookeeper.ZKConfig;
import org.junit.AfterClass; import org.junit.AfterClass;
@ -67,7 +70,7 @@ import org.slf4j.LoggerFactory;
* Tests RegionReplicaReplicationEndpoint class by setting up region replicas and verifying * Tests RegionReplicaReplicationEndpoint class by setting up region replicas and verifying
* async wal replication replays the edits to the secondary region in various scenarios. * async wal replication replays the edits to the secondary region in various scenarios.
*/ */
@Category({FlakeyTests.class, MediumTests.class}) @Category({FlakeyTests.class, LargeTests.class})
public class TestRegionReplicaReplicationEndpoint { public class TestRegionReplicaReplicationEndpoint {
private static final Logger LOG = private static final Logger LOG =
LoggerFactory.getLogger(TestRegionReplicaReplicationEndpoint.class); LoggerFactory.getLogger(TestRegionReplicaReplicationEndpoint.class);