mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
fixes in fuzzer docker image
This commit is contained in:
parent
761b03f17d
commit
e06b675801
@ -29,7 +29,8 @@ RUN apt-get update \
|
||||
|
||||
COPY * /
|
||||
|
||||
CMD cd /workspace && /run-fuzzer.sh
|
||||
CMD cd /workspace \
|
||||
&& /run-fuzzer.sh 2>&1 | ts "$(printf '%%Y-%%m-%%d %%H:%%M:%%S\t')" | tee main.log
|
||||
|
||||
# docker run --network=host --volume <workspace>:/workspace -e PR_TO_TEST=<> -e SHA_TO_TEST=<> yandex/clickhouse-fuzzer
|
||||
|
||||
|
@ -49,7 +49,7 @@ function configure
|
||||
|
||||
function fuzz
|
||||
{
|
||||
./clickhouse server --config-file db/config.xml -- --path db 2>&1 | tail -1000000 > server-log.txt &
|
||||
./clickhouse server --config-file db/config.xml -- --path db 2>&1 | tail -1000000 > server.log &
|
||||
server_pid=$!
|
||||
kill -0 $server_pid
|
||||
while ! ./clickhouse client --query "select 1" && kill -0 $server_pid ; do echo . ; sleep 1 ; done
|
||||
@ -57,7 +57,7 @@ function fuzz
|
||||
echo Server started
|
||||
|
||||
for f in $(ls ch/tests/queries/0_stateless/*.sql | sort -R); do cat $f; echo ';'; done \
|
||||
| ./clickhouse client --query-fuzzer-runs=10 2>&1 | tail -1000000 > fuzzer-log.txt
|
||||
| ./clickhouse client --query-fuzzer-runs=10 2>&1 | tail -1000000 > fuzzer.log
|
||||
}
|
||||
|
||||
case "$stage" in
|
||||
|
Loading…
Reference in New Issue
Block a user