[arquillian-issues] [JBoss JIRA] (ARQ-1827) The @StartLevelAware(autostart = true) does not work with karaf deployer in case of @RunAsClient tests

Martin Basovnik (JIRA) issues at jboss.org
Mon Jul 28 09:51:30 EDT 2014


    [ https://issues.jboss.org/browse/ARQ-1827?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12988305#comment-12988305 ] 

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.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the arquillian-issues mailing list