diff --git a/.bazelrc b/.bazelrc index 7333057fba1..b0c5e1695af 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 2370e68c0f1..9004b91db39 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 void testCreateOrUpdateTopic_EnableSplitRegistration() { 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 void testCreateOrUpdateTopic_EnableSplitRegistration() { 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);