Skip to content

Commit

Permalink
[misc] correct test for mysql 8 sha256
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Jan 19, 2023
1 parent e2ad890 commit 233c17f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ install:
connector-test-machine/launch.bat -t "$srv" -v "$v" -d testj
;;
linux)
source connector-test-machine/launch.sh -t "$srv" -v "$v" -d testj -n 0 -l "$local" -p "$packet"
source connector-test-machine/launch.sh -t "$srv" -v "$v" -d testj -l "$local" -p "$packet"
;;
esac
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/org/mariadb/jdbc/Sha256AuthenticationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public void sha256PluginTestWithServerRsaKey() throws SQLException {
public void sha256PluginTestWithoutServerRsaKey() throws SQLException {
Assume.assumeTrue(!Platform.isWindows() && minVersion(8, 0, 0));
// mysql 8.0.31 broken public key retrieval, so avoid FLUSHING for now
Assume.assumeTrue(!isMariadbServer() && !exactVersion(8, 0, 31));
Assume.assumeTrue(!isMariadbServer() && !minVersion(8, 0, 31));

try (Connection conn =
DriverManager.getConnection(
Expand Down Expand Up @@ -172,7 +172,7 @@ public void cachingSha256PluginTestWithServerRsaKey() throws SQLException {
public void cachingSha256PluginTestWithoutServerRsaKey() throws SQLException {
Assume.assumeTrue(minVersion(8, 0, 0));
// mysql 8.0.31 broken public key retrieval, so avoid FLUSHING for now
Assume.assumeTrue(!isMariadbServer() && !exactVersion(8, 0, 31));
Assume.assumeTrue(!isMariadbServer() && !minVersion(8, 0, 31));

try (Connection conn =
DriverManager.getConnection(
Expand Down

0 comments on commit 233c17f

Please sign in to comment.