[Commits] fcfb0ca: Make several attempts to start the server
revision-id: fcfb0ca43d95da3c153e06c164151251c68c7953 () parent(s): 078ed1c21b65fc4a8fab19f72c7d8cc3a68c27aa author: Sergei Petrunia committer: Sergei Petrunia timestamp: 2020-02-08 20:47:12 +0300 message: Make several attempts to start the server also give it time before trying to connect --- run-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/run-test.sh b/run-test.sh index 5871a3a..f059e20 100755 --- a/run-test.sh +++ b/run-test.sh @@ -95,12 +95,13 @@ else fi #exit 0; -./$SERVER_DIR/sql/mysqld --defaults-file=./my-fbmysql-${SERVERNAME}.cnf & server_attempts=0 while true ; do + ./$SERVER_DIR/sql/mysqld --defaults-file=./my-fbmysql-${SERVERNAME}.cnf & + sleep 5 client_attempts=0 while true ; do ./$SERVER_DIR/client/mysql --defaults-file=./my-fbmysql-${SERVERNAME}.cnf -uroot -e "create database sbtest"
participants (1)
-
Sergei Petrunia