From 7984e4f8a454f91700e2c46022e0477e5c9ee842 Mon Sep 17 00:00:00 2001 From: alesapin Date: Wed, 16 Jan 2019 11:58:40 +0300 Subject: [PATCH] Add env variables for test images --- docker/test/stateless/Dockerfile | 4 ++++ docker/test/stress/Dockerfile | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docker/test/stateless/Dockerfile b/docker/test/stateless/Dockerfile index 90b4068fb93..bc6255a214e 100644 --- a/docker/test/stateless/Dockerfile +++ b/docker/test/stateless/Dockerfile @@ -23,6 +23,10 @@ RUN apt-get update -y \ ENV TZ=Europe/Moscow RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone +ENV TSAN_OPTIONS='halt_on_error=1' +ENV UBSAN_OPTIONS='print_stacktrace=1' +ENV ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer + COPY zookeeper.xml /etc/clickhouse-server/config.d/zookeeper.xml COPY listen.xml /etc/clickhouse-server/config.d/listen.xml COPY part_log.xml /etc/clickhouse-server/config.d/part_log.xml diff --git a/docker/test/stress/Dockerfile b/docker/test/stress/Dockerfile index 8f2524930c1..0b1c9bfbd2a 100644 --- a/docker/test/stress/Dockerfile +++ b/docker/test/stress/Dockerfile @@ -19,6 +19,10 @@ RUN apt-get update -y \ netcat-openbsd \ telnet +ENV TSAN_OPTIONS='halt_on_error=1' +ENV UBSAN_OPTIONS='print_stacktrace=1' +ENV ASAN_SYMBOLIZER_PATH=/usr/lib/llvm-6.0/bin/llvm-symbolizer + COPY ./stress /stress COPY log_queries.xml /etc/clickhouse-server/users.d/log_queries.xml COPY part_log.xml /etc/clickhouse-server/config.d/part_log.xml