From cd7a22c174f6a23729b9d74fb4b560c6acda24e1 Mon Sep 17 00:00:00 2001 From: Dominik Date: Tue, 5 Oct 2021 16:42:09 +0200 Subject: [PATCH] KEYCLOAK-19476: Unignore LoginTest.loginWithLongRedirectUri by adding property to authserver-quarkus --- .../quarkus/src/main/content/conf/keycloak.properties | 5 ++++- .../test/java/org/keycloak/testsuite/forms/LoginTest.java | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/keycloak.properties b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/keycloak.properties index feff5c4442..0a90e8f97e 100644 --- a/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/keycloak.properties +++ b/testsuite/integration-arquillian/servers/auth-server/quarkus/src/main/content/conf/keycloak.properties @@ -34,4 +34,7 @@ spi.theme.folder.dir=${kc.home.dir:}/themes spi.password-policy.password-blacklist.blacklists-path=${kc.home.dir:}/dependency/password-blacklists # http client connection reuse settings -spi.connections-http-client.default.reuse-connections=false \ No newline at end of file +spi.connections-http-client.default.reuse-connections=false + +# set max-length of event representation stored so the db can handle it +spi.events-store.jpa.max-detail-length=2000 \ No newline at end of file diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/LoginTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/LoginTest.java index 54f94c5feb..7e4bd441a6 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/LoginTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/LoginTest.java @@ -220,7 +220,7 @@ public class LoginTest extends AbstractTestRealmKeycloakTest { client.close(); } - @AuthServerContainerExclude(value = {AuthServerContainerExclude.AuthServer.QUARKUS, AuthServerContainerExclude.AuthServer.REMOTE}, details = "Unstable for Quarkus, review later. Remote testsuite: max-detail-length is set to zero in standalone.xml, proposed fix - KEYCLOAK-17659") + @AuthServerContainerExclude(value = {AuthServerContainerExclude.AuthServer.REMOTE}, details = "Remote testsuite: max-detail-length is set to zero in standalone.xml, proposed fix - KEYCLOAK-17659") @Test public void loginWithLongRedirectUri() throws Exception { try (AutoCloseable c = new RealmAttributeUpdater(adminClient.realm("test"))