ClickHouse/docker/test/unit/Dockerfile

10 lines
536 B
Docker
Raw Normal View History

2019-06-04 13:01:16 +00:00
# docker build -t yandex/clickhouse-unit-test .
2019-04-08 11:26:18 +00:00
FROM yandex/clickhouse-stateless-test
ENV TZ=Europe/Moscow
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2020-02-07 16:01:20 +00:00
RUN apt-get install gdb
2019-04-08 11:26:18 +00:00
2020-09-21 07:38:11 +00:00
CMD service zookeeper start && sleep 7 && /usr/share/zookeeper/bin/zkCli.sh -server localhost:2181 -create create /clickhouse_test ''; \
2020-02-07 16:01:20 +00:00
gdb -q -ex 'set print inferior-events off' -ex 'set confirm off' -ex 'set print thread-events off' -ex run -ex bt -ex quit --args ./unit_tests_dbms | tee test_output/test_result.txt