Skip to content

Commit dddd58d

Browse files
authored
Set experimental_ui_max_stdouterr_bytes to 10MB in bazel (apache#7348)
* Set experimental_ui_max_stdouterr_bytes to 10MB and Fix IT
1 parent dad6ad0 commit dddd58d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.bazelrc

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ build --enable_platform_specific_config
2424
test --action_env=TEST_TMPDIR=/tmp
2525

2626
test --experimental_strict_java_deps=warn
27+
test --experimental_ui_max_stdouterr_bytes=10485760
2728
build --experimental_strict_java_deps=warn
2829

2930
test --test_output=errors

test/src/test/java/org/apache/rocketmq/test/route/CreateAndUpdateTopicIT.java

+2-2
Original file line numberDiff line numberDiff 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);

0 commit comments

Comments
 (0)