You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2006/12/17 17:43:21 UTC

[jira] Created: (LUCENE-752) Some tests fail due to common use of java.io.tmpdir

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

                 Key: LUCENE-752
                 URL: http://issues.apache.org/jira/browse/LUCENE-752
             Project: Lucene - Java
          Issue Type: Bug
            Reporter: Grant Ingersoll
         Assigned To: Grant Ingersoll
            Priority: Minor


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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


[jira] Resolved: (LUCENE-752) Some tests fail due to common use of java.io.tmpdir

Posted by "Grant Ingersoll (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/LUCENE-752?page=all ]

Grant Ingersoll resolved LUCENE-752.
------------------------------------

    Resolution: Fixed

Mapped java.io.tmpdir to ${build.dir}/test in the JUnit task definition in common-build.xml.

> Some tests fail due to common use of java.io.tmpdir
> ---------------------------------------------------
>
>                 Key: LUCENE-752
>                 URL: http://issues.apache.org/jira/browse/LUCENE-752
>             Project: Lucene - Java
>          Issue Type: Bug
>            Reporter: Grant Ingersoll
>         Assigned To: Grant Ingersoll
>            Priority: Minor
>
> 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.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org