Class ReplicationPeerConfigTestUtil
java.lang.Object
org.apache.hadoop.hbase.replication.ReplicationPeerConfigTestUtil
A helper tool for generating random
ReplicationPeerConfig
and do assertion.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
assertConfigEquals
(org.apache.hadoop.hbase.replication.ReplicationPeerConfig expected, org.apache.hadoop.hbase.replication.ReplicationPeerConfig actual) private static void
assertMapEquals
(Map<org.apache.hadoop.hbase.TableName, List<String>> expected, Map<org.apache.hadoop.hbase.TableName, List<String>> actual) private static void
assertSetEquals
(Set<String> expected, Set<String> actual) static org.apache.hadoop.hbase.replication.ReplicationPeerConfig
getConfig
(int seed) randNamespaces
(Random rand) randTableCFs
(Random rand)
-
Field Details
-
RNG
-
-
Constructor Details
-
ReplicationPeerConfigTestUtil
private ReplicationPeerConfigTestUtil()
-
-
Method Details
-
randNamespaces
-
randTableCFs
-
getConfig
-
assertSetEquals
-
assertMapEquals
-
assertConfigEquals
public static void assertConfigEquals(org.apache.hadoop.hbase.replication.ReplicationPeerConfig expected, org.apache.hadoop.hbase.replication.ReplicationPeerConfig actual)
-