Debian Codegraph @

mysql-test/suite/x/t/shutdown_before_initialization.test

raw
1 ## This test-case was created for reproducing a fault that was visiable
2 # rarely by toggling connection_unixsocket.test, where cleanup of
3 # unixsocket was not executed
4
5 --source include/have_debug.inc
6 --source include/not_windows.inc
7 --source include/xplugin_preamble.inc
8
9
10 ## Test Setup
11
12 # Enable "xplugin_shutdown_unixsocket" synchronization points, which
13 # execute code assigned to "initialization" thread and "shutdown" thread
14 # in concrete sequence.
15 #
16 # The Bug #31686096, described the original issue which was detected by
17 # x.connection_unixsocket test. This test makes the issue reproducable
18 # in each execution.
19 --echo
20 --echo # 1. Resetart server with "sync points" enabled that reproduce the issue
21 --let $wait_for_tcpsocket_status = no_wait
22 --let $wait_for_unixsocket_status = no_wait
23 --replace_regex /mysqlx-socket=.*sock/mysqlx-socket=SOCKET/
24 --let $restart_parameters = restart: --debug=+d,xplugin_shutdown_unixsocket --mysqlx-socket=$MYSQL_TMP_DIR/valid_mysqlx.sock
25 --source include/restart_mysqld.inc
26
27 --echo # 2. Restart the server with original cmd-args that MTR can do the post-check which detects the fault
28
29 let $restart_parameters = restart;
30 --source include/restart_mysqld.inc