Skip to content

Commit 9ab6f86

Browse files
author
diego Dupin
committed
[misc] test correction for maxscale
1 parent 99dea0e commit 9ab6f86

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/org/mariadb/jdbc/integration/ConfigurationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
import java.sql.*;
1010
import org.junit.jupiter.api.AfterAll;
11+
import org.junit.jupiter.api.Assumptions;
1112
import org.junit.jupiter.api.BeforeAll;
1213
import org.junit.jupiter.api.Test;
1314

@@ -65,7 +66,7 @@ public void testSessionVariable() throws SQLException {
6566

6667
@Test
6768
public void connectionAttributes() throws SQLException {
68-
69+
Assumptions.assumeTrue(!"maxscale".equals(System.getenv("srv")));
6970
try (org.mariadb.jdbc.Connection conn =
7071
createCon("&connectionAttributes=test:test1,test2:test2Val,test3")) {
7172
Statement stmt = conn.createStatement();

0 commit comments

Comments
 (0)