mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 02:51:44 +01:00
a19cb3884f
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.
13 lines
452 B
Text
13 lines
452 B
Text
#
|
|
# 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 '';
|