MDEV-7342: Test failure in perfschema.setup_instruments_defaults
Fix a possible race in the test case when restarting the server. Make sure we have disconnected before waiting for the reconnect that signals that the server is back up. Otherwise, we may in rare cases continue the test while the old server is shutting down, eventually leading to "connection lost" failure.
Showing
Please register or sign in to comment