test/stress: cleanup tail of log so that it will contain useful messages

This commit is contained in:
Azat Khuzhin 2021-07-16 09:09:35 +03:00
parent 41a5609b81
commit 984e9f2f50

View File

@ -58,7 +58,7 @@ function start()
echo "Cannot start clickhouse-server"
cat /var/log/clickhouse-server/stdout.log
tail -n1000 /var/log/clickhouse-server/stderr.log
tail -n1000 /var/log/clickhouse-server/clickhouse-server.log
tail -n100000 /var/log/clickhouse-server/clickhouse-server.log | grep -F -v '<Warning> RaftInstance:' -e '<Information> RaftInstance' | tail -n1000
break
fi
# use root to match with current uid