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

Avoid redundant integration testing in ProducerSendTests

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

Details

    • Test
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.1.0
    • unit tests
    • None

    Description

      We have a few test cases in BaseProducerSendTest which probably have little value being tested for both Plaintext and SSL. We can move them to PlaintextProducerSendTest and save a little bit on the build time. The following tests seem like possible candidates:

      1. testSendCompressedMessageWithCreateTime
      2. testSendNonCompressedMessageWithCreateTime
      3. testSendCompressedMessageWithLogAppendTime
      4. testSendNonCompressedMessageWithLogApendTime
      5. testAutoCreateTopic
      6. testFlush
      7. testSendWithInvalidCreateTime
      8. testCloseWithZeroTimeoutFromCallerThread
      9. testCloseWithZeroTimeoutFromSenderThread

      Attachments

        Activity

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

          People

            vahid Vahid Hashemian
            hachikuji Jason Gustafson
            Ismael Juma Ismael Juma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment