Skip to content

Commit

Permalink
ability to configure engine when running integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexradzin committed Nov 29, 2023
1 parent 57b87cb commit b0d23d5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/integrationTest/java/integration/IntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b0d23d5

Please sign in to comment.