Skip to content

Commit

Permalink
Fix error detection in running server from warning by maria db
Browse files Browse the repository at this point in the history
  • Loading branch information
4144 committed Nov 4, 2023
1 parent c2ab350 commit 85ca543
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/ci/travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 85ca543

Please sign in to comment.