[
https://jira.codehaus.org/browse/MRM-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=308544#comment-308544
]
Eric Barboni commented on MRM-1638:
-----------------------------------
Can go through full mvn clean install locally on jdk 7 but sometimes file
delete issue in the following code:
{code}
File directory = new File( "target/test-repositories" );
if (directory.exists())
{
FileUtils.deleteDirectory( directory );
}
{code}
On the module
*Archiva Base :: Consumers :: Core Consumers*
(well seen one time only and forgot to copy error :( )
*Archiva Base :: Proxy*
(setUp of AbstractProxyTestCase)
*Archiva Core Plugins :: File System Backed Metadata Repository*
(setUp of FileMetadataRepositoryTest)
> Improve unit test for archiva build
> -----------------------------------
>
> Key: MRM-1638
> URL: https://jira.codehaus.org/browse/MRM-1638
> Project: Archiva
> Issue Type: Task
> Components: Build
> Affects Versions: 1.4
> Environment: jdk 7.
> Reporter: Eric Barboni
> Assignee: Eric Barboni
> Fix For: 1.4-M3
>
> Attachments: ChecksumTest.patch, dummyRunner.patch,
> ListGenerator.patch, surefirereport.txt, testupdate.patch,
> unitRunnerallbuild.patch
>
>
> Due to change in jdk implementation in jdk7 test methods are executed in
> random order.
> As some unit test in archiva depend on certain order they fail random.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira