[20455] Arquillian reflection bug -> using different setter to avoid overloading. (#21806)

This commit is contained in:
Lukas Hanusovsky 2023-07-19 14:43:36 +02:00 committed by GitHub
parent 1d24a8b316
commit 086b85fad4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -141,7 +141,8 @@ public class KeycloakQuarkusConfiguration implements ContainerConfiguration {
this.providersPath = providersPath;
}
public void setProvidersPath(String providersPath) {
// https://github.com/keycloak/keycloak/issues/20455 Overloading fails time to time with a mismatch error, most probably an Arquillian class reflection bug.
public void setProvidersPathString(String providersPath) {
this.providersPath = Paths.get(providersPath);
}

View file

@ -722,7 +722,7 @@
<property name="adapterImplClass">org.keycloak.testsuite.arquillian.containers.KeycloakQuarkusServerDeployableContainer</property>
<property name="bindHttpPortOffset">${auth.server.port.offset}</property>
<property name="importFile">${migration.import.file.name}</property>
<property name="providersPath">${keycloak.migration.home}</property>
<property name="providersPathString">${keycloak.migration.home}</property>
<property name="javaOpts">
-Xms512m
-Xmx512m