fixed tests
This commit is contained in:
parent
b49abaa523
commit
6f22bbface
@ -426,6 +426,9 @@ public class HashPartitionServiceTest {
|
|||||||
topicService);
|
topicService);
|
||||||
ReflectionTestUtils.setField(partitionService, "coreTopic", "tb.core");
|
ReflectionTestUtils.setField(partitionService, "coreTopic", "tb.core");
|
||||||
ReflectionTestUtils.setField(partitionService, "corePartitions", 10);
|
ReflectionTestUtils.setField(partitionService, "corePartitions", 10);
|
||||||
|
ReflectionTestUtils.setField(partitionService, "cfEventTopic", "tb_cf_event");
|
||||||
|
ReflectionTestUtils.setField(partitionService, "cfStateTopic", "tb_cf_state");
|
||||||
|
ReflectionTestUtils.setField(partitionService, "cfPartitions", 10);
|
||||||
ReflectionTestUtils.setField(partitionService, "vcTopic", "tb.vc");
|
ReflectionTestUtils.setField(partitionService, "vcTopic", "tb.vc");
|
||||||
ReflectionTestUtils.setField(partitionService, "vcPartitions", 10);
|
ReflectionTestUtils.setField(partitionService, "vcPartitions", 10);
|
||||||
ReflectionTestUtils.setField(partitionService, "hashFunctionName", hashFunctionName);
|
ReflectionTestUtils.setField(partitionService, "hashFunctionName", hashFunctionName);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user