Skip to content

Commit

Permalink
[misc] correcting aurora tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jun 13, 2019
1 parent 72dbca9 commit 71d84ea
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -144,7 +144,9 @@ public static void beforeClass() throws SQLException {
String url = System.getProperty("dbUrl", "jdbc:mariadb://localhost:3306/testj?user=root");
initialUrl = url.replaceAll("jdbc:mariadb://", "jdbc:mariadb:failover://");
}
proxyUrl = createProxies(initialUrl, HaMode.NONE);
if (initialUrl != null) {
proxyUrl = createProxies(initialUrl, HaMode.NONE);
}
if (initialReplicationUrl != null) {
proxyReplicationUrl = createProxies(initialReplicationUrl, HaMode.REPLICATION);
}
Expand Down

0 comments on commit 71d84ea

Please sign in to comment.