mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
ea47e05f3c
fails randomly. The problem was that the test case used command line tool (mysql) without specifying connect_timeout argument. In some cases, this lead to hanging of the test case. The fix is to specify --connect_timeout=1 when starting mysql. Also, the patch contains polishing and various cleanups to simplify analyzing of the problems further. The patch affects only test suite, no server codebase has been touched.
24 lines
485 B
Bash
Executable file
24 lines
485 B
Bash
Executable file
#!/bin/bash
|
|
|
|
###########################################################################
|
|
|
|
basename=`basename "$0"`
|
|
dirname=`dirname "$0"`
|
|
|
|
###########################################################################
|
|
|
|
. "$dirname/utils.sh"
|
|
|
|
###########################################################################
|
|
|
|
if [ $# -lt 2 ]; then
|
|
echo "Usage: $basename <test id> log message ..."
|
|
exit 1
|
|
fi
|
|
|
|
test_id="$1"
|
|
log_file="$MYSQLTEST_VARDIR/log/$test_id.log"
|
|
|
|
shift
|
|
|
|
log_debug "$*"
|