From b22395b3d6c4c5fbe52c308037f4739b8da845ae Mon Sep 17 00:00:00 2001 From: Miquel Simon Date: Wed, 24 Jul 2024 11:12:58 +0200 Subject: [PATCH] Updated connection configuration for MSSQL test container Closes #31558 Signed-off-by: Miquel Simon (cherry picked from commit aab7a912c46527c3da2aa254aefd653504fd1cef) Signed-off-by: Miquel Simon --- testsuite/integration-arquillian/pom.xml | 4 ++-- testsuite/integration-arquillian/tests/base/pom.xml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/testsuite/integration-arquillian/pom.xml b/testsuite/integration-arquillian/pom.xml index b8e4b1024784..3acd25779e26 100644 --- a/testsuite/integration-arquillian/pom.xml +++ b/testsuite/integration-arquillian/pom.xml @@ -588,14 +588,14 @@ mcr.microsoft.com/mssql/server:${mssql.version} 1433 false - /opt/mssql-tools/bin/sqlcmd -e -U sa -P vEry5tron9Pwd -d master -Q CREATE\ DATABASE\ ${keycloak.connectionsJpa.database} + /opt/mssql-tools18/bin/sqlcmd -e -U sa -P ${keycloak.connectionsJpa.password} -No -d master -Q CREATE\ DATABASE\ ${keycloak.connectionsJpa.database} /bin/sh -c /opt/mssql/bin/sqlservr Recovery is complete. This is an informational message only. No user action is required. mssql com.microsoft.sqlserver.jdbc.SQLServerDriver keycloak sa - vEry5tron9Pwd + vEry=tron9Pwd jdbc:sqlserver://${auth.server.db.host}:${docker.database.port};databaseName=${keycloak.connectionsJpa.database};integratedSecurity=false;encrypt=false;trustServerCertificate=true;sendStringParametersAsUnicode=false; diff --git a/testsuite/integration-arquillian/tests/base/pom.xml b/testsuite/integration-arquillian/tests/base/pom.xml index 2b0db696463c..13357d116891 100644 --- a/testsuite/integration-arquillian/tests/base/pom.xml +++ b/testsuite/integration-arquillian/tests/base/pom.xml @@ -399,7 +399,7 @@ Y - ${keycloak.connectionsJpa.password} + ${keycloak.connectionsJpa.password} ${keycloak.connectionsJpa.database}