summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorJan Lindström <jan.lindstrom@mariadb.com>2018-03-22 08:51:43 +0200
committerJan Lindström <jan.lindstrom@mariadb.com>2018-03-23 07:27:01 +0200
commit2e5495a52993a5ca9093bfbcc9aa4d610c80f0dc (patch)
treedcd440e10bbe12cbaa842136412563398b4cbafb /mysql-test
parentc25743c620388a466978d4cf268751a72e9bf4f1 (diff)
downloadmariadb-git-bb-10.1-MDEV-14616.tar.gz
MDEV-14616: WSREP has not yet prepared node for application use errorbb-10.1-MDEV-14616
MariaDB adjustments. mysqltest.cc : Allow 12 error codes at --error wait_until_connected_again.inc: Replace numeric error codes with symbols mysqltest.test: Add error codes to test that tests too many errorcodes
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/include/wait_until_connected_again.inc2
-rw-r--r--mysql-test/t/mysqltest.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/include/wait_until_connected_again.inc b/mysql-test/include/wait_until_connected_again.inc
index 265f110fe72..b13d07e94bb 100644
--- a/mysql-test/include/wait_until_connected_again.inc
+++ b/mysql-test/include/wait_until_connected_again.inc
@@ -14,7 +14,7 @@ while ($mysql_errno)
# Strangely enough, the server might return "Too many connections"
# while being shutdown, thus 1040 is an "allowed" error
# See BUG#36228
- --error 0,1040,1053,1205,2002,2003,2005,2006,2013,1927
+ --error 0,ER_CON_COUNT_ERROR,ER_SERVER_SHUTDOWN,ER_LOCK_WAIT_TIMEOUT,ER_CONNECTION_KILLED,2002,2003,2005,2006,2013
show status;
dec $counter;
diff --git a/mysql-test/t/mysqltest.test b/mysql-test/t/mysqltest.test
index b2eb101a37c..60f41042d56 100644
--- a/mysql-test/t/mysqltest.test
+++ b/mysql-test/t/mysqltest.test
@@ -685,7 +685,7 @@ remove_file $MYSQLTEST_VARDIR/tmp/mysqltest.sql;
# Too many errorcodes specified
--error 1
---exec echo "--error 1,2,3,4,5,6,7,8,9,10,11" | $MYSQL_TEST 2>&1
+--exec echo "--error 1,2,3,4,5,6,7,8,9,10,11,12,13" | $MYSQL_TEST 2>&1
# ----------------------------------------------------------------------------