You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Christoph Gritschenberger (JIRA)" <ji...@apache.org> on 2013/02/02 12:22:12 UTC

[jira] [Updated] (KARAF-2158) Test InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess fails when run isolated

     [ https://issues.apache.org/jira/browse/KARAF-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christoph Gritschenberger updated KARAF-2158:
---------------------------------------------

    Attachment: instance-service-test-fix.patch

Makes sure tests can be executed in any order.
Also ported the tests to Junit4-style
                
> Test InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess fails when run isolated
> --------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-2158
>                 URL: https://issues.apache.org/jira/browse/KARAF-2158
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-instance
>            Reporter: Christoph Gritschenberger
>            Priority: Minor
>         Attachments: instance-service-test-fix.patch
>
>
> This test fails when run before all other tests because it depends on the "karaf.base" system-property set in other test-methods. This is a problem when building with jdk7 where the execution-order of test-methods is a bit random.
> to reproduce:
> {code}
> mvn clean install -f instance/core/pom.xml -Dtest=InstanceServiceImplTest#testToSimulateRenameInstanceByExternalProcess
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira