[ 
http://issues.ops4j.org/browse/PAXEXAM-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037#action_13037
 ] 

Alin Dreghiciu commented on PAXEXAM-140:
----------------------------------------

I had PAXEXAM-142 in my todo list but now I created an issue for it as I think 
is a solution to your use case.

The idea is that you can create any number of containers in a simple manner, 
dynamically install/uninstall bundles, run test cases and so on. You will be 
able then to test even for more complex scenarios like what happens when you 
bring one container down, ...

> Starting multiple OSGi containers out of one test
> -------------------------------------------------
>
>                 Key: PAXEXAM-140
>                 URL: http://issues.ops4j.org/browse/PAXEXAM-140
>             Project: Pax Exam
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 1.1.0
>            Reporter: Benjamin Hebgen
>            Assignee: Toni Menzel
>
> Hi,
> for stuff like distributed testing it would be nice to provide a simple way 
> to load multiple osgi containers at one time in a test.
> I think the best for the enduser would be to give a int parameter in the 
> bundle provision part of the configuration(s) which states in which container 
> which bundle will be loaded. 
> For the injection of the bundle context i would simple suggest to use an 
> array (the user should know which entry is which container).
> To have a somekind complete solution the framework selection stuff would also 
> need that int parameter so that you can start two containers from different 
> frameworks.
> Another solution would be to have a new option entry which states that the 
> following config is for container nr ...
> The test itself i think should always stay in the first container
> Well problems are of cause stuff like what happens when configure one 
> container to run with three different frameworks and another one with two.
> Best regards
> Benni

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.ops4j.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to