From 85ca54313e61db1ba0113c53aeb8d02fee70bbf9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 4 Nov 2023 23:47:28 +0300 Subject: [PATCH] Fix error detection in running server from warning by maria db --- tools/ci/travis.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/ci/travis.sh b/tools/ci/travis.sh index c24025deb0c..6186d1b5de3 100755 --- a/tools/ci/travis.sh +++ b/tools/ci/travis.sh @@ -52,7 +52,7 @@ function run_server { rm -rf core* || true CRASH_PLEASE=1 $1 --run-once $2 2>runlog.txt export errcode=$? - export teststr=$(head -c 10000 runlog.txt) + export teststr=$(head -c 10000 runlog.txt|grep -v "WARNING: MYSQL_OPT_RECONNECT is deprecated and will be removed in a future version.") if [[ -n "${teststr}" ]]; then echo "Errors found in running server $1." head -c 10000 runlog.txt