joeCarf commented on code in PR #7583:
URL: https://github.com/apache/rocketmq/pull/7583#discussion_r1405874012


##########
namesrv/src/test/java/org/apache/rocketmq/namesrv/routeinfo/RouteInfoManagerNewTest.java:
##########
@@ -131,6 +134,25 @@ public void getAllTopicList() {
         assertThat(topicList.getTopicList()).contains("TestTopic", 
"TestTopic1", "TestTopic2");
     }
 
+    @Test
+    public void hugeTopicListAddTest() {
+        Set<String> mapSet = ConcurrentHashMap.newKeySet();
+        Set<String> copyOnWriteArraySet = new CopyOnWriteArraySet<>();
+        HashSet<String> topics= new HashSet<>();
+
+        for(int i=0; i< 100000 ; ++i) {

Review Comment:
   seems that this line need to be reformatted



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to