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

Fix failed testProduceWithInvalidTimestamp/testSendWithInvalidCreateTime tests

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

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

    Description

      org.opentest4j.AssertionFailedError: expected: <INVALID_TIMESTAMP> but was: <INVALID_RECORD> at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at app//org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182) at app//org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:177) at app//org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1141) at app//kafka.server.ProduceRequestTest.testProduceWithInvalidTimestamp(ProduceRequestTest.scala:119)

       

      https://ci-builds.apache.org/job/Kafka/job/kafka/job/trunk/741/testReport/junit/kafka.server/ProduceRequestTest/Build___JDK_11_and_Scala_2_13___testProduceWithInvalidTimestamp__/

       

       

      org.opentest4j.AssertionFailedError: expected: <true> but was: <false> at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:40) at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:35) at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:179) at app//kafka.api.PlaintextProducerSendTest.testSendWithInvalidCreateTime(PlaintextProducerSendTest.scala:102)

       

      https://ci-builds.apache.org/job/Kafka/job/kafka/job/trunk/741/testReport/junit/kafka.api/PlaintextProducerSendTest/Build___JDK_11_and_Scala_2_13___testSendWithInvalidCreateTime__/

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment