Skip to content

Commit

Permalink
[misc] Ssl test forcing old TLS version removed for newer server
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jun 22, 2020
1 parent 28030fc commit 1092f77
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/test/java/org/mariadb/jdbc/SslTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -222,13 +222,14 @@ public void testServerRefuseProtocol() throws Exception {

@Test
public void useSslForceTlsV1() throws Exception {
Assume.assumeFalse(isMariadbServer() && minVersion(10, 4));
Assume.assumeFalse(isMariadbServer() && minVersion(10, 3));
useSslForceTls("TLSv1");
}

@Test
public void useSslForceTlsV11() throws Exception {
// must either be mariadb or mysql version 5.7.10
Assume.assumeFalse(isMariadbServer() && minVersion(10, 3));
if (isMariadbServer() || minVersion(5, 7)) {
useSslForceTls("TLSv1.1");
}
Expand Down

0 comments on commit 1092f77

Please sign in to comment.