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

Use Randomized State Directory Names in Streams System Tests

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

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: streams, system tests
    • Labels:
      None

      Description

      Currently, the state directory property in streams' system tests is set to the PERSISTENT_ROOT variable. Since Streams applications in different tests have the same application ID and the state directory path consists of state directory property + application ID + task ID, it might happen that a dirty state directory of one test is re-used by another test if the state directory is not properly cleaned up. This may lead to unexpected results and false positive and/or flaky failures.

      The state directory property shall be set to a randomized path inside PERSISTENT_ROOT to ensure that tests may not interfere with each other in the case of missing state clean-ups.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cadonna Bruno Cadonna

              Dates

              • Created:
                Updated:

                Issue deployment