Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2347

Java tests should use unique dirs for minicluster data

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • n/a
    • java, test

    Description

      Currently the Java minicluster just uses TEST_TMPDIR/minicluster-data as a root for its miniclusters. I found some case in which one test failed to clean up that directory and then the next test failed to start because it found existing on-disk data with a different set of master hosts/IPs. It also prevents running multiple instances of the tests in parallel.

      We should have the Java tests pass in a unique directory name into the minicluster tool based on the current test being executed to above these collisions.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: