From 0f00348ff83a1f29fc04cbdbed7e0e17b803a8b9 Mon Sep 17 00:00:00 2001 From: Jakub Jedlicka Date: Wed, 24 Jul 2024 17:21:00 +0200 Subject: [PATCH] MSSQL add `-C` argument to trust server certificate and change sqlcmd path (cherry picked from commit 7ce8e0350cd07191d5b0c466170d2c3126eba776) --- .../ts/transactions/MssqlTransactionGeneralUsageIT.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql-db/narayana-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java b/sql-db/narayana-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java index 3161a2f2c..7b74ffb42 100644 --- a/sql-db/narayana-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java +++ b/sql-db/narayana-transactions/src/test/java/io/quarkus/ts/transactions/MssqlTransactionGeneralUsageIT.java @@ -26,8 +26,8 @@ public class MssqlTransactionGeneralUsageIT extends TransactionCommons { self .> getPropertyFromContext(DOCKER_INNER_CONTAINER) .execInContainer( - "/opt/mssql-tools/bin/sqlcmd", "-S", "localhost", "-U", self.getUser(), "-P", self.getPassword(), - "-Q", "EXEC sp_sqljdbc_xa_install"); + "/opt/mssql-tools18/bin/sqlcmd", "-C", "-S", "localhost", "-U", self.getUser(), + "-P", self.getPassword(), "-Q", "EXEC sp_sqljdbc_xa_install"); } catch (IOException | InterruptedException e) { throw new RuntimeException(e); }