Skip to content

Commit

Permalink
Fix failing docker test
Browse files Browse the repository at this point in the history
  • Loading branch information
aaron-congo committed Jan 23, 2025
1 parent 909347b commit dda0f4a
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ public void testFailedProperties(
props.setProperty(PropertyDefinition.USER.name, username);
props.setProperty(PropertyDefinition.PASSWORD.name, password);

if (testDriver == TestDriver.MARIADB) {
// If this property is true the driver will still be able to connect, causing the test to fail.
props.setProperty("allowPublicKeyRetrieval", "false");
}

LOGGER.finest("Connecting to " + url);

assertThrows(
Expand Down

0 comments on commit dda0f4a

Please sign in to comment.