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

Task idling is not sufficiently tested

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • streams, unit tests
    • None

    Description

      The test for task idling are a bit sparse. When I changed it so that isProcessable always returns true only one test failed. That means the entire code path is hinging on one unit test (shouldBeProcessableIfAllPartitionsBuffered) that does not cover all branches of logic. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            wcarlson5 Walker Carlson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: