Tests for continuum-release fail randomly
-----------------------------------------
Key: CONTINUUM-968
URL: http://jira.codehaus.org/browse/CONTINUUM-968
Project: Continuum
Issue Type: Test
Affects Versions: 1.1
Environment: tests fail for some environments and pass for others. For
some they fail at random
Reporter: Philippe Faes
Priority: Minor
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