@@ -186,7 +186,7 @@ public void testBinaryProtoToGetTopicsOfNamespacePersistent() throws Exception {
186186
187187 assertEquals (topics .size (), 6 );
188188 assertEquals (consumers .size (), 6 );
189- assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 3 );
189+ assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 2 );
190190
191191 topics .forEach (topic -> log .debug ("topic: {}" , topic ));
192192 consumers .forEach (c -> log .debug ("consumer: {}" , c .getTopic ()));
@@ -289,7 +289,7 @@ public void testBinaryProtoToGetTopicsOfNamespaceNonPersistent() throws Exceptio
289289
290290 assertEquals (topics .size (), 1 );
291291 assertEquals (consumers .size (), 1 );
292- assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 1 );
292+ assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 0 );
293293
294294 topics .forEach (topic -> log .debug ("topic: {}" , topic ));
295295 consumers .forEach (c -> log .debug ("consumer: {}" , c .getTopic ()));
@@ -649,7 +649,7 @@ public void testAutoSubscribePatternConsumer() throws Exception {
649649 Thread .sleep (100 );
650650 assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitions ().size (), 10 );
651651 assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getConsumers ().size (), 10 );
652- assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 4 );
652+ assertEquals (((PatternMultiTopicsConsumerImpl <?>) consumer ).getPartitionedTopics ().size (), 3 );
653653
654654 // 8. produce data to topic3 and topic4, verify should receive all the message
655655 for (int i = 0 ; i < totalMessages / 2 ; i ++) {
0 commit comments