m1a2st commented on code in PR #16893:
URL: https://github.com/apache/kafka/pull/16893#discussion_r1719154640
##########
core/src/test/scala/unit/kafka/server/ListOffsetsRequestTest.scala:
##########
@@ -35,11 +36,18 @@ class ListOffsetsRequestTest extends BaseRequestTest {
val topic = "topic"
val partition = new TopicPartition(topic, 0)
+ var enableUnstableVersions = true
+
+ @BeforeEach
+ override def setUp(testInfo: TestInfo): Unit = {
+ enableUnstableVersions =
!testInfo.getDisplayName.contains("testResponseIncludesLeaderEpochWithUnstableAPIs")
Review Comment:
Yes, It make sence when test
is`testResponseIncludesLeaderEpochWithStableAPIs` set `enableUnstableVersions`
to false is more better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]