From ce219a3d9e2edd65c0d6c83442bfb24ca8c4a4be Mon Sep 17 00:00:00 2001 From: proller Date: Mon, 28 May 2018 15:02:03 +0300 Subject: [PATCH] Fix pbuilder server run --- debian/pbuilder-hooks/B90test-server | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/pbuilder-hooks/B90test-server b/debian/pbuilder-hooks/B90test-server index 729b7f482e2..b19627a33e8 100755 --- a/debian/pbuilder-hooks/B90test-server +++ b/debian/pbuilder-hooks/B90test-server @@ -56,7 +56,7 @@ if [ "${TEST_CONNECT}" ]; then function finish { service clickhouse-server stop - tail -n 100 /var/log/clickhouse-server/*.log /var/log/stderr + tail -n 100 /var/log/clickhouse-server/*.log /var/log/clickhouse-server/stderr || true sleep 1 killall -9 clickhouse-server || true } @@ -66,7 +66,7 @@ if [ "${TEST_CONNECT}" ]; then sleep 3 # TODO: remove me or make only on error: - tail -n100 /var/log/clickhouse-server/*.log /var/log/stderr + tail -n100 /var/log/clickhouse-server/*.log /var/log/clickhouse-server/stderr || true clickhouse-client --port $CLICKHOUSE_PORT_TCP -q "SELECT * from system.build_options;" clickhouse-client ${CLIENT_ADD} -q "SELECT toDateTime(1);"