]
Martin Basovnik commented on ARQ-1827:
--------------------------------------
Method
[{{getBundle()}}|https://github.com/arquillian/arquillian-container-osgi/blob/master/testenricher/src/main/java/org/jboss/arquillian/testenricher/osgi/OSGiTestEnricher.java#L64]
returns {{null}} when we use annotation {{@RunAsClient}}.
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.