Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-18750

Make unit tests compatible with the tmp.dir property

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 4.1.4, 5.0-alpha1, 5.0, 5.1
    • Build
    • None
    • Code Clarity
    • Low Hanging Fruit
    • All
    • None
    • Hide

      Tested locally with ant test and with .build/docker/run-tests.sh test. CircleCI tests almost all failed due to concurrency limit (I'm on the free tier) and I'm trying to re-run each test individually to see if I can get that green.

      Show
      Tested locally with ant test and with .build/docker/run-tests.sh test . CircleCI tests almost all failed due to concurrency limit (I'm on the free tier) and I'm trying to re-run each test individually to see if I can get that green.

    Description

      Several unit tests hard-code file paths under the "/tmp" directory, which means they do not honor the tmp.dir ant build property. These should be updated so that when the user specifies tmp.dir, they can be certain that any files or directories created by the unit tests will be in their specified location.

      Attachments

        1. signature.asc
          0.5 kB
          miklosovic

        Issue Links

          Activity

            People

              dchenbecker Derek Chen-Becker
              dchenbecker Derek Chen-Becker
              Derek Chen-Becker
              Berenguer Blasi, Brandon Williams
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: