Class TestReplicationStateBasic
java.lang.Object
org.apache.hadoop.hbase.replication.TestReplicationStateBasic
- Direct Known Subclasses:
- TestReplicationStateZKImpl
White box testing for replication state interfaces. Implementations should extend this class, and
 initialize the interfaces properly.
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static Stringprotected static Stringprivate static final org.slf4j.Loggerprotected Stringprotected org.apache.hadoop.hbase.replication.ReplicationPeersprotected org.apache.hadoop.hbase.ServerNameprotected org.apache.hadoop.hbase.ServerNameprotected org.apache.hadoop.hbase.ServerNameprotected static final intprotected static final intprotected static int
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidassertConnectedPeerStatus(boolean status, String peerId) private voidassertNumberOfPeers(int total) void
- 
Field Details- 
LOG
- 
server1
- 
server2
- 
server3
- 
rp
- 
ID_ONE- See Also:
 
- 
ID_TWO- See Also:
 
- 
KEY_ONE
- 
KEY_TWO
- 
OUR_KEY
- 
zkTimeoutCount
- 
ZK_MAX_COUNT- See Also:
 
- 
ZK_SLEEP_INTERVAL- See Also:
 
 
- 
- 
Constructor Details- 
TestReplicationStateBasicpublic TestReplicationStateBasic()
 
- 
- 
Method Details- 
testReplicationPeers- Throws:
- Exception
 
- 
assertConnectedPeerStatus- Throws:
- Exception
 
- 
assertNumberOfPeersprivate void assertNumberOfPeers(int total) throws org.apache.hadoop.hbase.replication.ReplicationException - Throws:
- org.apache.hadoop.hbase.replication.ReplicationException
 
 
-