Skip to content

Commit 520d1a2

Browse files
author
diego Dupin
committed
[misc] correcting test suite for max_allowed_packet=16M
1 parent fd2f5c5 commit 520d1a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ public void bigSendError() throws SQLException {
467467
for (int pos = 0; pos < arr.length; pos++) {
468468
arr[pos] = (char) ('A' + (pos % 60));
469469
}
470-
boolean expectClosed = maxAllowedPacket > 16 * 1024 * 1024;
470+
boolean expectClosed = maxAllowedPacket >= 16 * 1024 * 1024;
471471
String st = new String(arr);
472472
try (Connection con = createCon()) {
473473
bigSendError(con, st, expectClosed);

0 commit comments

Comments
 (0)