File tree Expand file tree Collapse file tree
test/src/test/java/org/apache/rocketmq/test/route Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ build --enable_platform_specific_config
2424test --action_env=TEST_TMPDIR=/tmp
2525
2626test --experimental_strict_java_deps=warn
27+ test --experimental_ui_max_stdouterr_bytes=10485760
2728build --experimental_strict_java_deps=warn
2829
2930test --test_output=errors
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ public void testCreateOrUpdateTopic_EnableSplitRegistration() {
121121
122122 String testTopic = "test-topic-" ;
123123
124- for (int i = 0 ; i < 1000 ; i ++) {
124+ for (int i = 0 ; i < 10 ; i ++) {
125125 TopicConfig topicConfig = new TopicConfig (testTopic + i , 8 , 8 );
126126 brokerController1 .getTopicConfigManager ().updateTopicConfig (topicConfig );
127127 brokerController2 .getTopicConfigManager ().updateTopicConfig (topicConfig );
@@ -132,7 +132,7 @@ public void testCreateOrUpdateTopic_EnableSplitRegistration() {
132132 brokerController2 .registerBrokerAll (false , true , true );
133133 brokerController3 .registerBrokerAll (false , true , true );
134134
135- for (int i = 0 ; i < 1000 ; i ++) {
135+ for (int i = 0 ; i < 10 ; i ++) {
136136 TopicRouteData route = MQAdminTestUtils .examineTopicRouteInfo (NAMESRV_ADDR , testTopic + i );
137137 assertThat (route .getBrokerDatas ()).hasSize (3 );
138138 assertThat (route .getQueueDatas ()).hasSize (3 );
You can’t perform that action at this time.
0 commit comments