提交 febac4d4 编写于 作者: P proller

pbuilder: set timezone before test

上级 8f0cf29a
......@@ -11,11 +11,19 @@ dpkg -i /tmp/buildd/*.deb || true
apt install -y -f --allow-downgrades
# Some test references uses specific timezone
ln -fs /usr/share/zoneinfo/Europe/Moscow /etc/localtime
echo 'Europe/Moscow' > /etc/timezone
dpkg-reconfigure -f noninteractive tzdata
service clickhouse-server start
sleep 3
clickhouse-client -q "SELECT * from system.build_options;"
clickhouse-client -q "SELECT toDateTime(1);"
# --no-shard because default server listen only :: and 127.0.0.1
[ -n "$TEST_RUN" ] && clickhouse-test --no-shard --queries /usr/share/clickhouse-test/queries --tmp /tmp/clickhouse-test/ || true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册