Commit 116baede authored by Elena Stepanova's avatar Elena Stepanova

Sporadic failure in storage_engine/trx.xa_recovery test

The test complains that the server failed to disappear upon shutdown /
wait_for_disconnect. Trying to solve the probably race condition by 
adding a wait before restart.
parent e072a647
...@@ -56,10 +56,14 @@ XA PREPARE 'xa2'; ...@@ -56,10 +56,14 @@ XA PREPARE 'xa2';
--connection default --connection default
--enable_reconnect --enable_reconnect
--append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect --append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
restart wait
EOF EOF
--shutdown_server 0 --shutdown_server 0
--source include/wait_until_disconnected.inc --source include/wait_until_disconnected.inc
--append_file $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
restart
EOF
--source include/wait_until_connected_again.inc --source include/wait_until_connected_again.inc
XA RECOVER; XA RECOVER;
XA ROLLBACK 'xa1'; XA ROLLBACK 'xa1';
......
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