mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
d238bd6755
The problem was a race condition in a test case. The fix eliminates the race condition by explicit wait on UNIX socket to start accepting connections. The patch affects only test suite (i.e. does not touch server codebase).
25 lines
700 B
Text
25 lines
700 B
Text
SHOW VARIABLES LIKE 'server_id';
|
|
Variable_name Value
|
|
server_id 1
|
|
SHOW INSTANCES;
|
|
instance_name status
|
|
mysqld1 online
|
|
mysqld2 offline
|
|
Killing the process...
|
|
Sleeping...
|
|
Success: the process was restarted.
|
|
Success: server is ready to accept connection on socket.
|
|
|
|
--------------------------------------------------------------------
|
|
-- Test for BUG#12751
|
|
--------------------------------------------------------------------
|
|
START INSTANCE mysqld2;
|
|
Success: the process has been started.
|
|
Killing the process...
|
|
Sleeping...
|
|
Success: the process was restarted.
|
|
SHOW INSTANCE STATUS mysqld1;
|
|
instance_name status version
|
|
mysqld1 online VERSION
|
|
STOP INSTANCE mysqld2;
|
|
Success: the process has been stopped.
|