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

Incorrect assertion in KafkaBasedLogTest.testSendAndReadToEnd

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.9.0.0
    • Component/s: KafkaConnect
    • Labels:
      None

      Description

      One of the assertions is incorrect. This is a bit hard to spot because that assertion is performed in a callback on a different thread, so if the assertion fails it can just kill the other thread and the test times out without a clear indication of what's going wrong. We can rearrange the assertion a bit to test the same thing but make the assertions execute in the main test thread.

        Attachments

          Activity

            People

            • Assignee:
              ewencp Ewen Cheslack-Postava
              Reporter:
              ewencp Ewen Cheslack-Postava
              Reviewer:
              Gwen Shapira
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: