Skip to content
Permalink
Browse files

[CONJ-642] travis activating testing option "useBulkStmts"

(cherry picked from commit 141dd93)
  • Loading branch information...
rusher committed Sep 3, 2018
1 parent 24a1a5d commit ebf3080ba2ef4bf0f057bed3826da7e76e37fa9a
Showing with 6 additions and 6 deletions.
  1. +2 −2 .travis/script.sh
  2. +4 −4 src/test/java/org/mariadb/jdbc/ErrorMessageTest.java
@@ -18,10 +18,10 @@ case "$TYPE" in
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&allowMultiQueries=true&enablePacketDebug=true'
;;
"BULK_SERVER" )
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&useBatchMultiSend=true&useServerPrepStmts=true&enablePacketDebug=true'
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&useBatchMultiSend=true&useServerPrepStmts=true&enablePacketDebug=true&useBulkStmts=true'
;;
"NO_BULK_CLIENT" )
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&useBatchMultiSend=false&enablePacketDebug=true'
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&useBatchMultiSend=true&enablePacketDebug=true'
;;
"NO_BULK_SERVER" )
urlString='jdbc:mariadb://mariadb.example.com:3305/testj?user=bob&useBatchMultiSend=false&useServerPrepStmts=true&enablePacketDebug=true'
@@ -96,7 +96,7 @@ public void testSmallRewriteErrorMessage() throws SQLException {
public void testSmallMultiBatchErrorMessage() throws SQLException {
Connection connection = null;
try {
connection = setBlankConnection("&allowMultiQueries=true&useServerPrepStmts=false");
connection = setConnection("&allowMultiQueries=true&useServerPrepStmts=false");
executeBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
@@ -141,7 +141,7 @@ public void testSmallBulkErrorMessage() throws SQLException {
Assume.assumeFalse(sharedIsAurora());
Connection connection = null;
try {
connection = setBlankConnection("&useBatchMultiSend=true");
connection = setConnection("&useBatchMultiSend=true");
executeBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
@@ -195,7 +195,7 @@ public void testBigRewriteErrorMessage() throws SQLException {
public void testBigMultiErrorMessage() throws SQLException {
Connection connection = null;
try {
connection = setBlankConnection("&allowMultiQueries=true&useServerPrepStmts=false");
connection = setConnection("&allowMultiQueries=true&useServerPrepStmts=false");
executeBigBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
@@ -250,7 +250,7 @@ public void testBigBulkErrorMessage() throws SQLException {
Assume.assumeFalse(sharedIsAurora());
Connection connection = null;
try {
connection = setBlankConnection("&useBatchMultiSend=true");
connection = setConnection("&useBatchMultiSend=true");
executeBigBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {

0 comments on commit ebf3080

Please sign in to comment.
You can’t perform that action at this time.