Skip to content

Commit

Permalink
Set experimental_ui_max_stdouterr_bytes to 10MB in bazel (apache#7348)
Browse files Browse the repository at this point in the history
* Set experimental_ui_max_stdouterr_bytes to 10MB and Fix IT
  • Loading branch information
lollipopjin authored Sep 12, 2023
1 parent dad6ad0 commit dddd58d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit dddd58d

Please sign in to comment.