diff --git a/src/test/java/org/mariadb/jdbc/integration/MultiHostTest.java b/src/test/java/org/mariadb/jdbc/integration/MultiHostTest.java index 3a70f9174..7428e4cb0 100644 --- a/src/test/java/org/mariadb/jdbc/integration/MultiHostTest.java +++ b/src/test/java/org/mariadb/jdbc/integration/MultiHostTest.java @@ -300,7 +300,7 @@ public void masterFailover() throws Exception { try (Connection con = (Connection) DriverManager.getConnection( - url + "&retriesAllDown=4&connectTimeout=20&deniedListTimeout=20")) { + url + "&retriesAllDown=4&connectTimeout=50&deniedListTimeout=50")) { Statement stmt = con.createStatement(); con.setAutoCommit(false); stmt.execute("START TRANSACTION"); @@ -321,7 +321,7 @@ public void masterFailover() throws Exception { (Connection) DriverManager.getConnection( url - + "&transactionReplay=true&waitReconnectTimeout=300&deniedListTimeout=300&retriesAllDown=4&connectTimeout=20")) { + + "&transactionReplay=true&waitReconnectTimeout=300&deniedListTimeout=300&retriesAllDown=4&connectTimeout=50")) { Statement stmt = con.createStatement(); stmt.execute("DROP TABLE IF EXISTS testReplay"); stmt.execute("CREATE TABLE testReplay(id INT)");