Add correct version of llvm-symbolizer in stress-test

This commit is contained in:
alesapin 2020-03-28 15:01:55 +03:00
parent 219b39187d
commit 3c98bfeeea

View File

@ -19,7 +19,7 @@ RUN apt-get update -y \
openssl \
netcat-openbsd \
telnet \
llvm-8 \
llvm-9 \
brotli
COPY ./stress /stress
@ -33,7 +33,7 @@ CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
dpkg -i package_folder/clickhouse-test_*.deb; \
ln -s /usr/share/clickhouse-test/config/log_queries.xml /etc/clickhouse-server/users.d/; \
ln -s /usr/share/clickhouse-test/config/part_log.xml /etc/clickhouse-server/config.d/; \
ln -s /usr/lib/llvm-8/bin/llvm-symbolizer /usr/bin/llvm-symbolizer; \
ln -s /usr/lib/llvm-9/bin/llvm-symbolizer /usr/bin/llvm-symbolizer; \
echo "TSAN_OPTIONS='halt_on_error=1 history_size=7 ignore_noninstrumented_modules=1 verbosity=1'" >> /etc/environment; \
echo "UBSAN_OPTIONS='print_stacktrace=1'" >> /etc/environment; \
service clickhouse-server start && sleep 5 \