You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test KeycloakUserServiceTest is occasionally failing with:
2024-10-15 13:35:57,816 WARN [io.hyp.too.hor.svc.use.KeycloakUserBackend] (main) Could not add admin role to user some-random-dude due to User some-random-dude does not exist
Error: Tests run: 11, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 63.65 s <<<FAILURE! -- in io.hyperfoil.tools.horreum.svc.KeycloakUserServiceTest
Error: io.hyperfoil.tools.horreum.svc.KeycloakUserServiceTest.apiKeys -- Time elapsed: 0.615 s <<<FAILURE!
org.opentest4j.AssertionFailedError: Expected a notification of key about to expire ==> expected: <false> but was: <true>
at io.hyperfoil.tools.horreum.svc.UserServiceAbstractTest.lambda$apiKeys$56(UserServiceAbstractTest.java:617)
at io.hyperfoil.tools.horreum.svc.UserServiceAbstractTest.overrideTestSecurity(UserServiceAbstractTest.java:76)
at io.hyperfoil.tools.horreum.svc.UserServiceAbstractTest.apiKeys(UserServiceAbstractTest.java:578)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at io.quarkus.test.junit.QuarkusTestExtension.runExtensionMethod(QuarkusTestExtension.java:973)
at io.quarkus.test.junit.QuarkusTestExtension.interceptTestMethod(QuarkusTestExtension.java:823)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
Describe the bug
Test
KeycloakUserServiceTest
is occasionally failing with:To Reproduce
See job https://github.com/Hyperfoil/Horreum/actions/runs/11347129760/job/31557779361?pr=2085 as example
Additional Context
Re-running the CI makes the test green, thus I think it is actually a flaky test.
The text was updated successfully, but these errors were encountered: