Test fix
This commit is contained in:
		
							parent
							
								
									701547e38f
								
							
						
					
					
						commit
						dbec05a2c1
					
				@ -71,6 +71,8 @@ public class HashPartitionServiceTest {
 | 
				
			|||||||
                queueRoutingInfoService);
 | 
					                queueRoutingInfoService);
 | 
				
			||||||
        ReflectionTestUtils.setField(clusterRoutingService, "coreTopic", "tb.core");
 | 
					        ReflectionTestUtils.setField(clusterRoutingService, "coreTopic", "tb.core");
 | 
				
			||||||
        ReflectionTestUtils.setField(clusterRoutingService, "corePartitions", 10);
 | 
					        ReflectionTestUtils.setField(clusterRoutingService, "corePartitions", 10);
 | 
				
			||||||
 | 
					        ReflectionTestUtils.setField(clusterRoutingService, "vcTopic", "tb.vc");
 | 
				
			||||||
 | 
					        ReflectionTestUtils.setField(clusterRoutingService, "vcPartitions", 10);
 | 
				
			||||||
        ReflectionTestUtils.setField(clusterRoutingService, "hashFunctionName", hashFunctionName);
 | 
					        ReflectionTestUtils.setField(clusterRoutingService, "hashFunctionName", hashFunctionName);
 | 
				
			||||||
        TransportProtos.ServiceInfo currentServer = TransportProtos.ServiceInfo.newBuilder()
 | 
					        TransportProtos.ServiceInfo currentServer = TransportProtos.ServiceInfo.newBuilder()
 | 
				
			||||||
                .setServiceId("tb-core-0")
 | 
					                .setServiceId("tb-core-0")
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user