auth-server-feature
does not work for auth-server-quarkus-embedded
#29259
Labels
area/testsuite
Indicates an issue on the Testsuite area
kind/bug
Categorizes a PR related to a bug
release/25.0.0
team/continuous-testing
Before reporting an issue
Area
testsuite
Describe the bug
It seems this:
keycloak/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/containers/KeycloakQuarkusServerDeployableContainer.java
Line 79 in 8c3f7cc
is not applied for
https://github.com/keycloak/keycloak/blob/8c3f7cc6e92ca8327cc6ab722b4e8565ca727dbd/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/containers/KeycloakQuarkusEmbeddedDeployableContainer.java
A possible fix could be to move a call to the method
addFeaturesOption
:keycloak/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/containers/AbstractQuarkusDeployableContainer.java
Line 147 in 8c3f7cc
but we need to make sure it is added only for the build command in the case of
auth-server-quarkus
.Version
main
Regression
Expected behavior
The option works for both auth-server-quarkus and embedded
Actual behavior
It works only for
auth-server-quarkus
How to Reproduce?
Run some test with
-Dauth.server.feature=persistent-user-sessions
with both-Pauth-server-quarkus
and-Pauth-server-quarkus-embedded
and check the Keycloak startup log contains:only with
auth-server-quarkus
Note: make sure
is still experimental, otherwise test with other experimental feature. You can see features here:
https://github.com/keycloak/keycloak/blob/main/common/src/main/java/org/keycloak/common/Profile.java#L109
Anything else?
No response
The text was updated successfully, but these errors were encountered: