Hi,

It’s has been discussed on the mailing list already (I don’t remember who 
reported this).

The change we did is that etc/users.properties has the karaf user commented now 
(for security reason).

However, etc/users.properties is still part of the karaf distribution. But, as 
it contains only comments now, I suspect pax-exam-karaf to not include it in 
the core distribution run. Karaf itests use it, so, it should be minor.

A simple workaround is to include your own users.properties in the pax-exam 
option.

I will check and create Jira for 4.3.3.

Regards
JB

> Le 23 mai 2021 à 00:27, Steinar Bang <s...@dod.no> a écrit :
> 
> When I bumped the karaf version (affects the karaf-maven-plugin, the
> karaf BoM and the pax exam tests in my project builds), then the pax
> exam tests fail with this message:
> 
> [ERROR] 
> initializationError(no.priv.bang.authservice.tests.AuthserviceIntegrationTest)
>   Time elapsed: 0.015 s  <<< ERROR!
> org.ops4j.pax.exam.TestContainerException: java.lang.RuntimeException: Config 
> resource /etc/users.properties not found
>       at 
> no.priv.bang.authservice.tests.AuthserviceIntegrationTest.config(AuthserviceIntegrationTest.java:33)
> 
> Is this expected? Do I need to make a change in my test setup?
> 
> Here's the test that failed when I bumped karaf from 4.3.0 to 4.3.2:
> https://github.com/steinarb/authservice/tree/master/authservice.tests
> 

Reply via email to