| 33 | class HashRingTest : public ::testing::Test { |
| 34 | protected: |
| 35 | void GetDistributionMap(const HashRing& hash_ring, |
| 36 | std::map<IpAddr, uint64_t>* distribution_map) { |
| 37 | return hash_ring.GetDistributionMap(distribution_map); |
| 38 | } |
| 39 | |
| 40 | // Verify the specified hash ring has the appropriate number of nodes and replicas. |
| 41 | // This assumes no collisions. If there are collisions, the total replicas will be |
no outgoing calls
no test coverage detected