Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-15729

KRaft support in GetOffsetShellTest

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 3.8.0
    • core

    Description

      The following tests in GetOffsetShellTest in tools/src/test/java/org/apache/kafka/tools/GetOffsetShellTest.java need to be updated to support KRaft

      62 : def testNoFilterOptions(): Unit = {

      68 : def testInternalExcluded(): Unit = {

      74 : def testTopicNameArg(): Unit = {

      82 : def testTopicPatternArg(): Unit = {

      88 : def testPartitionsArg(): Unit = {

      94 : def testTopicPatternArgWithPartitionsArg(): Unit = {

      100 : def testTopicPartitionsArg(): Unit = {

      116 : def testGetLatestOffsets(time: String): Unit = {

      131 : def testGetEarliestOffsets(time: String): Unit = {

      146 : def testGetOffsetsByMaxTimestamp(time: String): Unit = {

      155 : def testGetOffsetsByTimestamp(): Unit = {

      170 : def testNoOffsetIfTimestampGreaterThanLatestRecord(): Unit = {

      177 : def testTopicPartitionsArgWithInternalExcluded(): Unit = {

      192 : def testTopicPartitionsArgWithInternalIncluded(): Unit = {

      198 : def testTopicPartitionsNotFoundForNonExistentTopic(): Unit = {

      203 : def testTopicPartitionsNotFoundForExcludedInternalTopic(): Unit = {

      208 : def testTopicPartitionsNotFoundForNonMatchingTopicPartitionPattern(): Unit = {

      213 : def testTopicPartitionsFlagWithTopicFlagCauseExit(): Unit = {

      218 : def testTopicPartitionsFlagWithPartitionsFlagCauseExit(): Unit = {

      Scanned 279 lines. Found 0 KRaft tests out of 19 tests

      Attachments

        Issue Links

          Activity

            People

              owen-leung Owen C.H. Leung
              sameert Sameer Tejani
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: