Skip to content

Commit 014fdfe

Browse files
authored
KAFKA-17969 Fix StorageToolTest for 3.9 (apache#17723)
Reviewers: Chia-Ping Tsai <[email protected]>
1 parent 17bd58a commit 014fdfe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/test/scala/unit/kafka/tools/StorageToolTest.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ Found problem:
325325
properties.setProperty("log.dirs", availableDirs.mkString(","))
326326
val stream = new ByteArrayOutputStream()
327327
assertEquals(0, runFormatCommand(stream, properties, Seq("--feature", "metadata.version=20")))
328-
assertTrue(stream.toString().contains("3.9-IV0"),
328+
assertTrue(stream.toString().contains("3.8-IV0"),
329329
"Failed to find content in output: " + stream.toString())
330330
}
331331

@@ -336,7 +336,7 @@ Found problem:
336336
properties.putAll(defaultStaticQuorumProperties)
337337
properties.setProperty("log.dirs", availableDirs.mkString(","))
338338
assertEquals("Unsupported feature: non.existent.feature. Supported features are: " +
339-
"group.version, kraft.version, transaction.version",
339+
"kraft.version, transaction.version",
340340
assertThrows(classOf[FormatterException], () =>
341341
runFormatCommand(new ByteArrayOutputStream(), properties,
342342
Seq("--feature", "non.existent.feature=20"))).getMessage)

0 commit comments

Comments
 (0)