Class TestReplicationSinkManager
java.lang.Object
org.apache.hadoop.hbase.replication.regionserver.TestReplicationSinkManager
-
Nested Class Summary
Modifier and TypeClassDescriptionprivate static class
Manage the 'getRegionServers' for the tests below. -
Field Summary
Modifier and TypeFieldDescriptionstatic final HBaseClassTestRule
private static final String
private org.apache.hadoop.hbase.replication.HBaseReplicationEndpoint
private org.apache.hadoop.hbase.replication.regionserver.ReplicationSinkManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setUp()
void
void
void
void
void
Once a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be replicated to anymore.
-
Field Details
-
CLASS_RULE
-
PEER_CLUSTER_ID
- See Also:
-
sinkManager
-
replicationEndpoint
-
-
Constructor Details
-
TestReplicationSinkManager
public TestReplicationSinkManager()
-
-
Method Details
-
setUp
-
testChooseSinks
-
testChooseSinks_LessThanRatioAvailable
-
testReportBadSink
-
testReportBadSink_PastThreshold
Once a SinkPeer has been reported as bad more than BAD_SINK_THRESHOLD times, it should not be replicated to anymore. -
testReportBadSink_DownToZeroSinks
-