fixed hash partition service initialization

This commit is contained in:
YevhenBondarenko 2022-06-06 09:17:19 +02:00
parent 6173795580
commit ac751b09f9

View File

@ -85,7 +85,9 @@ public class HashPartitionServiceTest {
.addAllServiceTypes(Collections.singletonList(ServiceType.TB_CORE.name())) .addAllServiceTypes(Collections.singletonList(ServiceType.TB_CORE.name()))
.build()); .build());
} }
clusterRoutingService.init(); clusterRoutingService.init();
clusterRoutingService.partitionsInit();
clusterRoutingService.recalculatePartitions(currentServer, otherServers); clusterRoutingService.recalculatePartitions(currentServer, otherServers);
} }