Commit ea0937d4 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-30172: Tolerate CR_SSL_CONNECTION_ERROR in Galera tests

We should treat CR_SERVER_LOST (2013) and CR_SSL_CONNECTION_ERROR (2026)
interchangeably.
parent 138cd311
......@@ -100,19 +100,19 @@ Killing server ...
connection node_1;
Killing server ...
connection node_1_insert_simple;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_insert_multi;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_insert_transaction;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_update_simple;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_insert_1k;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_insert_1m;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1_insert_10m;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_1;
Performing --wsrep-recover ...
Using --wsrep-start-position when starting mysqld ...
......
......@@ -142,31 +142,31 @@ SET SESSION wsrep_sync_wait = 0;
--source include/kill_galera.inc
--connection node_1_insert_simple
--error 2013
--error 2013, 2026
--reap
--connection node_1_insert_multi
--error 2013
--error 2013, 2026
--reap
--connection node_1_insert_transaction
--error 2013
--error 2013, 2026
--reap
--connection node_1_update_simple
--error 2013
--error 2013, 2026
--reap
--connection node_1_insert_1k
--error 2013
--error 2013, 2026
--reap
--connection node_1_insert_1m
--error 2013
--error 2013, 2026
--reap
--connection node_1_insert_10m
--error 2013
--error 2013, 2026
--reap
--connection node_1
......
......@@ -12,7 +12,7 @@ SET SESSION wsrep_trx_fragment_size=1;
START TRANSACTION;
INSERT INTO t1 VALUES ('primary'),('primary'),('primary'),('primary'),('primary');
COMMIT;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
# restart
connection node_1;
SELECT COUNT(*) = 0 FROM mysql.wsrep_streaming_log;
......
......@@ -26,7 +26,7 @@ SET SESSION wsrep_trx_fragment_size=1;
START TRANSACTION;
INSERT INTO t1 VALUES ('primary'),('primary'),('primary'),('primary'),('primary');
--error 2013
--error 2013,2026
COMMIT;
--source include/start_mysqld.inc
......
......@@ -15,7 +15,7 @@ SET DEBUG_SYNC='now WAIT_FOR before_fragment';
SET GLOBAL wsrep_cluster_address = '';
SET DEBUG_SYNC = 'now SIGNAL continue';
connection node_2;
ERROR HY000: Lost connection to server during query
Got one of the listed errors
connection node_2a;
SELECT * FROM mysql.wsrep_streaming_log;
node_uuid trx_id seqno flags frag
......
......@@ -43,7 +43,8 @@ SET DEBUG_SYNC = 'now SIGNAL continue';
# Disconnect causes connection to node_2 to be closed
#
--connection node_2
--error 2013 # CR_SERVER_LOST
# CR_SERVER_LOST, CR_SSL_CONNECTION_ERROR
--error 2013,2026
--reap
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment