not really. The problem is that Pax Exam itself isn't build for a
situation like this. And since pax-exam-karaf only uses the
capabilities of exam it's not really possible to do this.

IMHO there are only two options:

a) use the not so great solution via the admin service
b) come up with something completely new

Kind regards,
Andreas

On Mon, Nov 19, 2012 at 1:06 PM, Christian Schneider
<[email protected]> wrote:
> For test with one karaf container karaf exam is already really great.
> For some cases though I would like to create more than one karaf.
> For example in cxf dosgi I would like to have two instances:
> 1) Client for service and DOSGi infrastructure
> 2) Service provider, DOSGi infrastructure, Zookeeper server
>
> My test would run inside container 1 but it would also need container 2.
>
> So what are the best practices to achieve this?
>
> I have found similar cases in Karaf Cellar. There the karaf
> admin(instance) service is used to create another karaf instance. Then
> the connect command is used to issue shell commands that configure the
> remote instance.
> While this works it is very verbose and contains a lot of sleeps to wait
> for commands to finish.
>
> What I would ideally be looking for is to have one set of pax exam
> options for each container. Is that possible?
>
> Christian
>

Reply via email to