mirror of
https://github.com/MariaDB/server.git
synced 2025-07-20 10:24:14 +03:00
Shutdown of mtr tests may be too impatient, esp on CI environment where 10 seconds of `arg` of `shutdown_server arg` may not be enough for the clean shutdown to complete. This is fixed to remove explicit non-zero timeout argument to `shutdown_server` from all mtr tests. mysqltest computes 60 seconds default value for the timeout for the argless `shutdown_server` command. This policy is additionally ensured with a compile time assert.
14 lines
452 B
Plaintext
14 lines
452 B
Plaintext
#
|
|
# MDEV-8224 Server crashes in get_server_from_table_to_cache on empty name
|
|
#
|
|
--source include/not_embedded.inc
|
|
create server '' foreign data wrapper w2 options (host '127.0.0.1');
|
|
--exec echo "wait" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
|
--shutdown_server
|
|
--source include/wait_until_disconnected.inc
|
|
--exec echo "restart" > $MYSQLTEST_VARDIR/tmp/mysqld.1.expect
|
|
|
|
-- enable_reconnect
|
|
-- source include/wait_until_connected_again.inc
|
|
drop server '';
|