Skip to content

Commit

Permalink
Skip config logging in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffxiang committed Oct 23, 2024
1 parent f85ae75 commit 3621561
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ Properties getProperties() {
properties.setProperty("psc.discovery.connection.urls", "http://localhost:1");
properties.setProperty("psc.discovery.security.protocols",
StringUtils.repeat("plaintext", ",", 1));

properties.setProperty(PscConfiguration.PSC_CONFIG_LOGGING_ENABLED, "false");
return properties;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -511,6 +511,7 @@ private SourceReader<Integer, PscTopicUriPartitionSplit> createReader(
throws Exception {
props.setProperty(PscFlinkConfiguration.CLUSTER_URI_CONFIG, PscTestEnvironmentWithKafkaAsPubSub.PSC_TEST_TOPIC_URI_PREFIX);
props.setProperty(PscConfiguration.PSC_METRICS_FREQUENCY_MS, "100");
props.setProperty(PscConfiguration.PSC_CONFIG_LOGGING_ENABLED, "false");
if (!props.containsKey(PscConfiguration.PSC_CONSUMER_GROUP_ID)) {
props.setProperty(PscConfiguration.PSC_CONSUMER_GROUP_ID, "test-group-id");
}
Expand Down

0 comments on commit 3621561

Please sign in to comment.