This is an automated email from the ASF dual-hosted git repository.

lollipop pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git


The following commit(s) were added to refs/heads/develop by this push:
     new dddd58d2cc Set experimental_ui_max_stdouterr_bytes to 10MB in bazel 
(#7348)
dddd58d2cc is described below

commit dddd58d2cc8622eb70f55b447ffb772700c0e916
Author: Jixiang Jin <[email protected]>
AuthorDate: Tue Sep 12 19:17:36 2023 +0800

    Set experimental_ui_max_stdouterr_bytes to 10MB in bazel (#7348)
    
    * Set experimental_ui_max_stdouterr_bytes to 10MB and Fix IT
---
 .bazelrc                                                              | 1 +
 .../java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java   | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.bazelrc b/.bazelrc
index 7333057fba..b0c5e1695a 100644
--- a/.bazelrc
+++ b/.bazelrc
@@ -24,6 +24,7 @@ build --enable_platform_specific_config
 test --action_env=TEST_TMPDIR=/tmp
 
 test  --experimental_strict_java_deps=warn
+test  --experimental_ui_max_stdouterr_bytes=10485760
 build --experimental_strict_java_deps=warn
 
 test --test_output=errors
diff --git 
a/test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java 
b/test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java
index 2370e68c0f..9004b91db3 100644
--- 
a/test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java
+++ 
b/test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java
@@ -121,7 +121,7 @@ public class CreateAndUpdateTopicIT extends BaseConf {
 
         String testTopic = "test-topic-";
 
-        for (int i = 0; i < 1000; i++) {
+        for (int i = 0; i < 10; i++) {
             TopicConfig topicConfig = new TopicConfig(testTopic + i, 8, 8);
             
brokerController1.getTopicConfigManager().updateTopicConfig(topicConfig);
             
brokerController2.getTopicConfigManager().updateTopicConfig(topicConfig);
@@ -132,7 +132,7 @@ public class CreateAndUpdateTopicIT extends BaseConf {
         brokerController2.registerBrokerAll(false, true, true);
         brokerController3.registerBrokerAll(false, true, true);
 
-        for (int i = 0; i < 1000; i++) {
+        for (int i = 0; i < 10; i++) {
             TopicRouteData route = 
MQAdminTestUtils.examineTopicRouteInfo(NAMESRV_ADDR, testTopic + i);
             assertThat(route.getBrokerDatas()).hasSize(3);
             assertThat(route.getQueueDatas()).hasSize(3);

Reply via email to