[
https://issues.apache.org/jira/browse/KARAF-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andreas Pieber resolved KARAF-2158.
-----------------------------------
Resolution: Fixed
Fix Version/s: 3.0.0
{code}
Committing to https://svn.apache.org/repos/asf/karaf/trunk ...
M
instance/core/src/test/java/org/apache/karaf/instance/core/internal/InstanceServiceImplTest.java
Committed r1442064
{code}
> 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
> Affects Versions: 3.0.0
> Reporter: Christoph Gritschenberger
> Assignee: Andreas Pieber
> Priority: Minor
> Fix For: 3.0.0
>
> 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