[arquillian-issues] [JBoss JIRA] (ARQ-336) Inject container references in the test to start/stop containers

Martin Gencur (Commented) (JIRA) jira-events at lists.jboss.org
Wed Nov 23 06:45:42 EST 2011


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

Martin Gencur commented on ARQ-336:
-----------------------------------

I would just add a comment on various combinations of container mode (mode=managed|suite) and deployment (managed=true|false).

1) container mode==suite, deployment managed==true
 
--> container start/stop - automatic (in before/after suite phase),
    deployment - automatic (in before/after class phase)

2) container mode==suite, deployment managed==false

--> container start/stop - automatic (in before/after suite phase),
    deployment - manual (via Deployer API)

3) container mode==manual, deployment managed==true

--> container start/stop - manual (via ContainerController API),
    deployment - automatic (right after the container is started and before the   
    container is stopped)

4) container mode==manual, deployment managed==false

--> container start/stop - manual (via ContainerController API),
    deployment - manual (via Deployer API)


                
> Inject container references in the test to start/stop containers
> ----------------------------------------------------------------
>
>                 Key: ARQ-336
>                 URL: https://issues.jboss.org/browse/ARQ-336
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Base Implementation
>            Reporter: Jean Deruelle
>            Assignee: Martin Gencur
>             Fix For: 1.0.0.Final
>
>
> Useful to test HA configuration and failover.
> Start 3 instances of JBoss AS in cluster mode target one of them and be able to kill it and start new nodes on demand to test failover.

--
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