[arquillian-issues] [JBoss JIRA] (ARQ-699) @ArquillianResource Deployer gets injected only for the first test when using manual deployment/container modes

Aslak Knutsen (Commented) (JIRA) jira-events at lists.jboss.org
Thu Dec 15 11:45:09 EST 2011


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

Aslak Knutsen commented on ARQ-699:
-----------------------------------

Defined @Deployment is marked as @Deployment.testable=true(default) so the logic for auto discovering the runmode fails the second time (after it has been deployed once (they share the same deployment context)) and assums InContainer since the deployment descriptor exists in the deployment context. 

Need to verify deployment.isDeployed in runmode discovery. 

(maybe cleaner solution: should container.stop / deployment.undeploy destroy the Container/Deployment Contexts ? Not sure where the destroy should happen)
                
> @ArquillianResource Deployer gets injected only for the first test when using manual deployment/container modes
> ---------------------------------------------------------------------------------------------------------------
>
>                 Key: ARQ-699
>                 URL: https://issues.jboss.org/browse/ARQ-699
>             Project: Arquillian
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Base Implementation
>    Affects Versions: 1.0.0.CR6
>            Reporter: Aslak Knutsen
>            Assignee: Aslak Knutsen
>             Fix For: 1.0.0.Final
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the arquillian-issues mailing list