Commit 8e5ae4e4 authored by Sergey Vojtovich's avatar Sergey Vojtovich

Test case fix: sort XA RECOVER result

Part of
MDEV-742 - XA PREPAREd transaction survive disconnect/server restart
parent c8ae3573
......@@ -34,8 +34,8 @@ connection slave;
include/sync_with_master_gtid.inc
xa recover;
formatID gtrid_length bqual_length data
1 1 0 t
1 1 0 s
1 1 0 t
connection master;
xa commit 't';
xa commit 's';
......@@ -87,8 +87,8 @@ disconnect master_ro_1;
connection master;
xa recover;
formatID gtrid_length bqual_length data
1 4 0 ro_2
1 4 0 ro_1
1 4 0 ro_2
*** Zero prepared xa:s must be in the list:
xa recover;
formatID gtrid_length bqual_length data
......
......@@ -43,8 +43,8 @@ SELECT @@global.gtid_slave_pos = CONCAT(domain_id,"-",server_id,"-",seq_no) FROM
1
xa recover;
formatID gtrid_length bqual_length data
1 1 0 t
1 1 0 s
1 1 0 t
connection master;
xa commit 't';
xa commit 's';
......@@ -96,8 +96,8 @@ disconnect master_ro_1;
connection master;
xa recover;
formatID gtrid_length bqual_length data
1 4 0 ro_2
1 4 0 ro_1
1 4 0 ro_2
*** Zero prepared xa:s must be in the list:
xa recover;
formatID gtrid_length bqual_length data
......
......@@ -55,6 +55,7 @@ if ($rpl_xa_check)
--eval SELECT $rpl_xa_check_rhs
}
}
sorted_result;
xa recover;
connection master;
......@@ -126,6 +127,7 @@ while ($p_trx)
--echo *** $ro_cases prepared xa:s must be in the list:
--connection master
sorted_result;
xa recover;
--let $p_trx=$ro_cases
......
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