This commit is contained in:
Alexander Kuzmenkov 2020-10-14 18:53:14 +03:00
parent 72fddba2b1
commit ead6d5992c

View File

@ -33,7 +33,7 @@ server_pid=none
function stop_server function stop_server
{ {
if kill -0 -- "$server_pid" if ! kill -0 -- "$server_pid"
then then
echo "ClickHouse server pid '$server_pid' is not running" echo "ClickHouse server pid '$server_pid' is not running"
return 0 return 0
@ -274,7 +274,7 @@ then
stop_server ||: stop_server ||:
# Clean the data so that there is no interference from the previous test run. # Clean the data so that there is no interference from the previous test run.
rm -rf "$FASTTEST_DATA"/{meta,}data ||: rm -rf "$FASTTEST_DATA"/{{meta,}data,user_files} ||:
start_server start_server