Lucene - Core
  1. Lucene - Core
  2. LUCENE-752

Some tests fail due to common use of java.io.tmpdir

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Some tests use java.io.tmpdir, while others use tempDir (which is defined in common-build.xml). Those that rely on java.io.tmpdir can fail when being run on the same machine as someone else who is running tests (this came up in testing the new nightly build scripts on lucene.zones.a.o)

      Proposed fix is to map java.io.tmpdir in the ANT Junit task to be the same value as tempDir.

        Activity

        Hide
        Grant Ingersoll added a comment -

        Mapped java.io.tmpdir to $

        {build.dir}

        /test in the JUnit task definition in common-build.xml.

        Show
        Grant Ingersoll added a comment - Mapped java.io.tmpdir to $ {build.dir} /test in the JUnit task definition in common-build.xml.

          People

          • Assignee:
            Grant Ingersoll
            Reporter:
            Grant Ingersoll
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development