@Test
public void getPossibleParallelRepairsTest() throws Exception {

  Map<List<String>, List<String>> map = RepairRunnerTest.threeNodeCluster();
  Map<String, String> endpointsThreeNodes = RepairRunnerTest.threeNodeClusterEndpoint();
  assertEquals(1, RepairRunner.getPossibleParallelRepairsCount(map, endpointsThreeNodes, DatacenterAvailability.ALL));
  map = RepairRunnerTest.sixNodeCluster();
  Map<String, String> endpointsSixNodes = RepairRunnerTest.sixNodeClusterEndpoint();
  assertEquals(2, RepairRunner.getPossibleParallelRepairsCount(map, endpointsSixNodes, DatacenterAvailability.ALL));
  assertEquals(1,
      RepairRunner.getPossibleParallelRepairsCount(map, endpointsSixNodes, DatacenterAvailability.SIDECAR));
}