You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ch...@apache.org on 2026/08/24 10:14:52 UTC
(kafka) branch trunk updated: MINOR: revert formatter test for latest testing metadata version (#23254)
This is an automated email from the ASF dual-hosted git repository.
chia7712 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 808bbe535b1 MINOR: revert formatter test for latest testing metadata version (#23254)
808bbe535b1 is described below
commit 808bbe535b1ca8e4c80e2e124db01184ef907858
Author: Parker Chang <pa...@gmail.com>
AuthorDate: Mon Aug 24 19:14:44 2026 +0900
MINOR: revert formatter test for latest testing metadata version (#23254)
Follow up for
https://github.com/apache/kafka/pull/23125#discussion_r3841933547,
FormatterTest needs to revert as well.
Reviewers: Chia-Ping Tsai <ch...@gmail.com>
---
.../src/test/java/org/apache/kafka/metadata/storage/FormatterTest.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/metadata/src/test/java/org/apache/kafka/metadata/storage/FormatterTest.java b/metadata/src/test/java/org/apache/kafka/metadata/storage/FormatterTest.java
index 2eca926f53c..e5ac2e40b61 100644
--- a/metadata/src/test/java/org/apache/kafka/metadata/storage/FormatterTest.java
+++ b/metadata/src/test/java/org/apache/kafka/metadata/storage/FormatterTest.java
@@ -70,7 +70,6 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;
import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.junit.jupiter.api.Assumptions.assumeFalse;
@Timeout(value = 40)
public class FormatterTest {
@@ -300,7 +299,6 @@ public class FormatterTest {
@Test
public void testFormatWithUnstableReleaseVersionFailsWithoutEnableUnstable() throws Exception {
- assumeFalse(MetadataVersion.latestTesting().isProduction());
try (TestEnv testEnv = new TestEnv(1)) {
FormatterContext formatter1 = testEnv.newFormatter();
formatter1.formatter.setReleaseVersion(MetadataVersion.latestTesting());
@@ -311,7 +309,6 @@ public class FormatterTest {
@Test
public void testFormatWithUnstableReleaseVersion() throws Exception {
- assumeFalse(MetadataVersion.latestTesting().isProduction());
try (TestEnv testEnv = new TestEnv(1)) {
FormatterContext formatter1 = testEnv.newFormatter();
formatter1.formatter.setReleaseVersion(MetadataVersion.latestTesting());