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

Fix flaky MirrorSourceConnectorTest.testRefreshTopicPartitionsTopicOnTargetFirst test

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0
    • None
    • None

    Description

      Stacktrace

      java.lang.NullPointerException at org.apache.kafka.connect.mirror.MirrorSourceConnector.listTopics(MirrorSourceConnector.java:348) at org.apache.kafka.connect.mirror.MirrorSourceConnector.findSourceTopicPartitions(MirrorSourceConnector.java:192) at org.apache.kafka.connect.mirror.MirrorSourceConnectorTest.testRefreshTopicPartitionsTopicOnTargetFirst(MirrorSourceConnectorTest.java:222)

       

      Also happened in MirrorCheckpointConnectorTest.testFindConsumerGroups

      Stacktrace

      java.lang.NullPointerException at org.apache.kafka.connect.mirror.MirrorCheckpointConnector.listConsumerGroups(MirrorCheckpointConnector.java:158) at org.apache.kafka.connect.mirror.MirrorCheckpointConnectorTest.testFindConsumerGroups(MirrorCheckpointConnectorTest.java:89)

       

      https://ci-builds.apache.org/job/Kafka/job/kafka-trunk-jdk11/415/testReport/junit/org.apache.kafka.connect.mirror/MirrorSourceConnectorTest/testRefreshTopicPartitionsTopicOnTargetFirst__/

      Attachments

        Issue Links

          Activity

            People

              showuon Luke Chen
              showuon Luke Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: