From b0d23d54fee32547fe16186f40a87e47daed0621 Mon Sep 17 00:00:00 2001 From: alexradzin Date: Mon, 31 Jul 2023 20:22:18 +0300 Subject: [PATCH] ability to configure engine when running integration tests --- src/integrationTest/java/integration/IntegrationTest.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/integrationTest/java/integration/IntegrationTest.java b/src/integrationTest/java/integration/IntegrationTest.java index 5980f2929..fd40cc3e2 100644 --- a/src/integrationTest/java/integration/IntegrationTest.java +++ b/src/integrationTest/java/integration/IntegrationTest.java @@ -32,9 +32,7 @@ protected Connection createLocalConnection(String queryParams) throws SQLExcepti } protected Connection createConnection() throws SQLException { - return DriverManager.getConnection(integration.ConnectionInfo.getInstance().toJdbcUrl(), - integration.ConnectionInfo.getInstance().getPrincipal(), - integration.ConnectionInfo.getInstance().getSecret()); + return createConnection(integration.ConnectionInfo.getInstance().getEngine()); } protected Connection createConnection(String engine) throws SQLException {