Browse Source

fixed tests

pull/12715/head
IrynaMatveieva 1 year ago
parent
commit
6f22bbface
  1. 3
      application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java

3
application/src/test/java/org/thingsboard/server/queue/discovery/HashPartitionServiceTest.java

@ -426,6 +426,9 @@ public class HashPartitionServiceTest {
topicService);
ReflectionTestUtils.setField(partitionService, "coreTopic", "tb.core");
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, "vcPartitions", 10);
ReflectionTestUtils.setField(partitionService, "hashFunctionName", hashFunctionName);

Loading…
Cancel
Save