Update send logs tests.

This commit is contained in:
Nikolai Kochetov 2019-07-29 19:29:58 +03:00
parent 52a9341082
commit efc4395b2f

View File

@ -3,9 +3,9 @@
CURDIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
. $CURDIR/../shell_config.sh
for i in {1..100}; do
$CLICKHOUSE_BINARY client --send_logs_level="trace" --query="SELECT * from numbers(100000);" > /dev/null 2> /dev/null &
$CLICKHOUSE_BINARY client --send_logs_level="information" --query="SELECT * from numbers(100000);" 2>&1 | awk '{ print $8 }' | grep "Debug\|Trace" &
for i in {1..10}; do
$CLICKHOUSE_BINARY client --send_logs_level="trace" --query="SELECT * from numbers(10000000);" > /dev/null 2> /dev/null &
$CLICKHOUSE_BINARY client --send_logs_level="information" --query="SELECT * from numbers(10000000);" 2>&1 | awk '{ print $8 }' | grep "Debug\|Trace" &
done
wait