[
https://issues.jboss.org/browse/ARQ-1827?page=com.atlassian.jira.plugin.s...
]
Martin Swiech updated ARQ-1827:
-------------------------------
Steps to Reproduce:
1. Create some test bundle to run on Karaf environment.
2. Create @RunAsClient test in this bundle with deployment annotation
@StartLevelAware(autostart = true).
3. There could not be property "autostartBundle" in arquillian.xml .
4. Run test using maven
R: Test bundle under karaf is installed, but no activated.
E: Test bundle under karaf is installed and active.
was:
1. Create some test bundle to run on Karaf environment.
2. Create @RunAsClient test in this bundle with deployment annotation
@StartLevelAware(autostart = true).
3. arquillian.xml must not has property "autostartBundle"
4. Run test using maven
R: Test bundle under karaf is installed, but no activated.
E: Test bundle under karaf is installed and active.
The @StartLevelAware(autostart = true) does not work with karaf
deployer in case of @RunAsClient tests
------------------------------------------------------------------------------------------------------
Key: ARQ-1827
URL:
https://issues.jboss.org/browse/ARQ-1827
Project: Arquillian
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: OSGi Containers
Affects Versions: 1.1.0.Final
Reporter: Martin Swiech
Assignee: Thomas Diesler
Priority: Minor
Labels: client, deployer, osgi, test
The annotation @StartLevelAware(autostart = true) doesn't have effect to start test
bundle under Karaf environment in case of @RunAsClient tests.
I must use property
<property name="autostartBundle">true</property>
in arquillian configuration.xml to start test bundle.
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)