You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Emmanuel Venisse (JIRA)" <ji...@codehaus.org> on 2007/01/22 14:17:18 UTC

[jira] Closed: (CONTINUUM-968) Tests for continuum-release fail randomly

     [ http://jira.codehaus.org/browse/CONTINUUM-968?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Venisse closed CONTINUUM-968.
--------------------------------------

      Assignee: Emmanuel Venisse
    Resolution: Fixed

Already fixed.

> Tests for continuum-release fail randomly
> -----------------------------------------
>
>                 Key: CONTINUUM-968
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-968
>             Project: Continuum
>          Issue Type: Test
>          Components: Testing
>    Affects Versions: 1.1
>         Environment: tests fail for some environments and pass for others. For some they fail at random
>            Reporter: Philippe Faes
>         Assigned To: Emmanuel Venisse
>            Priority: Minor
>             Fix For: 1.1
>
>         Attachments: continuum-release.diff
>
>
> The test for continuum-release fails randomly. This is because the two test methods are executed in a random order (this is intended JUnit behavior), and the tests alter files. 
> Solution is to restore files between tests (method setUp) and to force the order of the two tests (create one test method that calls the two other methods one by one).
> Patch is attached. Please verify and commit.

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