This is an automated email from the ASF dual-hosted git repository.
lianetm pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/trunk by this push:
new 6bfa19475d2 MINOR: fix class name in test tag & warns (#22406)
6bfa19475d2 is described below
commit 6bfa19475d27808de524ac34d321bac387bd760a
Author: Lianet Magrans <[email protected]>
AuthorDate: Fri May 29 09:29:49 2026 -0400
MINOR: fix class name in test tag & warns (#22406)
Typo in test name & adding supressions for the clusterConfig
Reviewers: Ken Huang <[email protected]>, Andrew Schofield
<[email protected]>
---
.../kafka/tiered/storage/integration/DisableRemoteLogOnTopicTest.java | 1 +
.../kafka/tiered/storage/integration/EnableRemoteLogOnTopicTest.java | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git
a/storage/src/test/java/org/apache/kafka/tiered/storage/integration/DisableRemoteLogOnTopicTest.java
b/storage/src/test/java/org/apache/kafka/tiered/storage/integration/DisableRemoteLogOnTopicTest.java
index a94ca5a8df5..88963085d45 100644
---
a/storage/src/test/java/org/apache/kafka/tiered/storage/integration/DisableRemoteLogOnTopicTest.java
+++
b/storage/src/test/java/org/apache/kafka/tiered/storage/integration/DisableRemoteLogOnTopicTest.java
@@ -44,6 +44,7 @@ public final class DisableRemoteLogOnTopicTest {
private static final int BROKER_COUNT = 3;
private static final int NUM_REMOTE_LOG_METADATA_PARTITIONS = 5;
+ @SuppressWarnings("unused")
private static List<ClusterConfig> clusterConfig() {
return List.of(ClusterConfig.defaultBuilder()
.setTypes(Set.of(Type.KRAFT))
diff --git
a/storage/src/test/java/org/apache/kafka/tiered/storage/integration/EnableRemoteLogOnTopicTest.java
b/storage/src/test/java/org/apache/kafka/tiered/storage/integration/EnableRemoteLogOnTopicTest.java
index caf637ad3d6..598480216b8 100644
---
a/storage/src/test/java/org/apache/kafka/tiered/storage/integration/EnableRemoteLogOnTopicTest.java
+++
b/storage/src/test/java/org/apache/kafka/tiered/storage/integration/EnableRemoteLogOnTopicTest.java
@@ -42,12 +42,13 @@ public final class EnableRemoteLogOnTopicTest {
private static final int BROKER_COUNT = 3;
private static final int NUM_REMOTE_LOG_METADATA_PARTITIONS = 5;
+ @SuppressWarnings("unused")
private static List<ClusterConfig> clusterConfig() {
return List.of(ClusterConfig.defaultBuilder()
.setTypes(Set.of(Type.KRAFT))
.setBrokers(BROKER_COUNT)
.setServerProperties(createServerPropsForRemoteStorage(
-
DisableRemoteLogOnTopicTest.class.getSimpleName().toLowerCase(Locale.ROOT),
+
EnableRemoteLogOnTopicTest.class.getSimpleName().toLowerCase(Locale.ROOT),
BROKER_COUNT,
NUM_REMOTE_LOG_METADATA_PARTITIONS))
.build());