Re: Can I set a specific name for the pax exam probe bundle?

2018-02-21 Thread Christian Schneider
I can create the mapping at runtime but then I have to somehow wait until it is processed asynchronously before I can try the login. Christian 2018-02-21 12:32 GMT+01:00 'Christoph Läubrich' via OPS4J < ops4j@googlegroups.com>: > The name is derived from the Exam-System with createID but I

Re: Can I set a specific name for the pax exam probe bundle?

2018-02-21 Thread 'Christoph Läubrich' via OPS4J
The name is derived from the Exam-System with createID but I think that can't be accessed from your test. You might be able to set it by providing an own ProbeBuilder. But can't you simply create the mapping at runtime? e.g. with a @Before you can fetch the current Bunlde name (via injected

Can I set a specific name for the pax exam probe bundle?

2018-02-21 Thread Christian Schneider
Just for some background on what I try to do: I am doing a test with sling (OSGi) in pax exam. There I need to do a login into the jcr repository using a service user. To be able to do that I need to create a so called usermapping. There I configure that if a bundle with a specific symbolic name