Skip to content

Commit

Permalink
[CONJ-642] travis activating testing option "useBulkStmts"
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Sep 3, 2018
1 parent e7c0940 commit 141dd93
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .travis/script.sh
Expand Up @@ -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'
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/org/mariadb/jdbc/ErrorMessageTest.java
Expand Up @@ -90,7 +90,7 @@ public void testSmallRewriteErrorMessage() throws SQLException {

@Test
public void testSmallMultiBatchErrorMessage() throws SQLException {
try (Connection connection = setBlankConnection("&allowMultiQueries=true&useServerPrepStmts=false")) {
try (Connection connection = setConnection("&allowMultiQueries=true&useServerPrepStmts=false")) {
executeBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
Expand Down Expand Up @@ -127,7 +127,7 @@ public void testSmallPrepareErrorMessage() throws SQLException {
@Test
public void testSmallBulkErrorMessage() throws SQLException {
Assume.assumeFalse(sharedIsAurora());
try (Connection connection = setBlankConnection("&useBatchMultiSend=true")) {
try (Connection connection = setConnection("&useBatchMultiSend=true")) {
executeBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
Expand Down Expand Up @@ -169,7 +169,7 @@ public void testBigRewriteErrorMessage() throws SQLException {

@Test
public void testBigMultiErrorMessage() throws SQLException {
try (Connection connection = setBlankConnection("&allowMultiQueries=true&useServerPrepStmts=false")) {
try (Connection connection = setConnection("&allowMultiQueries=true&useServerPrepStmts=false")) {
executeBigBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
Expand Down Expand Up @@ -216,7 +216,7 @@ public void testBigPrepareErrorMessage() throws SQLException {
@Test
public void testBigBulkErrorMessage() throws SQLException {
Assume.assumeFalse(sharedIsAurora());
try (Connection connection = setBlankConnection("&useBatchMultiSend=true")) {
try (Connection connection = setConnection("&useBatchMultiSend=true")) {
executeBigBatchWithException(connection);
fail("Must Have thrown error");
} catch (SQLException sqle) {
Expand Down

0 comments on commit 141dd93

Please sign in to comment.