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

Flaky KafkaStatusBackingStoreFormatTest#putTopicStateRetriableFailure

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • connect

    Description

      This test recently started flaky-failing with the following stack trace:

      org.mockito.exceptions.verification.TooFewActualInvocations: kafkaBasedLog.send(<any>, <any>, <any>);
      Wanted 2 times:->
       at org.apache.kafka.connect.util.KafkaBasedLog.send(KafkaBasedLog.java:376)
      But was 1 time:->
       at org.apache.kafka.connect.storage.KafkaStatusBackingStore.sendTopicStatus(KafkaStatusBackingStore.java:315)
      	at app//org.apache.kafka.connect.util.KafkaBasedLog.send(KafkaBasedLog.java:376)
      	at app//org.apache.kafka.connect.storage.KafkaStatusBackingStoreFormatTest.putTopicStateRetriableFailure(KafkaStatusBackingStoreFormatTest.java:219)
      	at java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at java.base@11.0.16.1/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at java.base@11.0.16.1/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.base@11.0.16.1/java.lang.reflect.Method.invoke(Method.java:566)
      ...

      Attachments

        Issue Links

          Activity

            People

              sagarrao Sagar Rao
              gharris1727 Greg Harris
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: