You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Michael McCandless (JIRA)" <ji...@apache.org> on 2009/06/10 17:28:20 UTC

[jira] Created: (LUCENE-1682) unit tests should use private directories

unit tests should use private directories
-----------------------------------------

                 Key: LUCENE-1682
                 URL: https://issues.apache.org/jira/browse/LUCENE-1682
             Project: Lucene - Java
          Issue Type: Improvement
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 2.9
         Attachments: LUCENE-1682.patch

This only affects our unit tests...

I run "ant test" and "ant test-tag" concurrently, but some tests have false failures (eg TestPayloads) because they use a fixed test directory in the filesystem for testing.

I've added a simple method to _TestUtil to get a temp dir, and switched over those tests that I've hit false failures on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Resolved: (LUCENE-1682) unit tests should use private directories

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless resolved LUCENE-1682.
----------------------------------------

    Resolution: Fixed

> unit tests should use private directories
> -----------------------------------------
>
>                 Key: LUCENE-1682
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1682
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1682.patch
>
>
> This only affects our unit tests...
> I run "ant test" and "ant test-tag" concurrently, but some tests have false failures (eg TestPayloads) because they use a fixed test directory in the filesystem for testing.
> I've added a simple method to _TestUtil to get a temp dir, and switched over those tests that I've hit false failures on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


[jira] Updated: (LUCENE-1682) unit tests should use private directories

Posted by "Michael McCandless (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/LUCENE-1682?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael McCandless updated LUCENE-1682:
---------------------------------------

    Attachment: LUCENE-1682.patch

I plan to commit later today...

> unit tests should use private directories
> -----------------------------------------
>
>                 Key: LUCENE-1682
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1682
>             Project: Lucene - Java
>          Issue Type: Improvement
>            Reporter: Michael McCandless
>            Assignee: Michael McCandless
>            Priority: Minor
>             Fix For: 2.9
>
>         Attachments: LUCENE-1682.patch
>
>
> This only affects our unit tests...
> I run "ant test" and "ant test-tag" concurrently, but some tests have false failures (eg TestPayloads) because they use a fixed test directory in the filesystem for testing.
> I've added a simple method to _TestUtil to get a temp dir, and switched over those tests that I've hit false failures on.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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