CLICKHOUSE-4245: Turn on query_log in stateless and stress tests

This commit is contained in:
alesapin 2019-01-09 19:04:39 +03:00
parent 0648088ff0
commit 95a9b8b3f7
4 changed files with 17 additions and 1 deletions

View File

@ -25,6 +25,7 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
COPY zookeeper.xml /etc/clickhouse-server/config.d/zookeeper.xml
COPY listen.xml /etc/clickhouse-server/config.d/listen.xml
COPY log_queries.xml /etc/clickhouse-server/users.d/log_queries.xml
CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
dpkg -i package_folder/clickhouse-server_*.deb; \

View File

@ -0,0 +1,7 @@
<yandex>
<profiles>
<default>
<log_queries>1</log_queries>
</default>
</profiles>
</yandex>

View File

@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM ubuntu:18.10
RUN apt-get update -y \
&& env DEBIAN_FRONTEND=noninteractive \
@ -20,6 +20,7 @@ RUN apt-get update -y \
telnet
COPY ./stress /stress
COPY log_queries.xml /etc/clickhouse-server/users.d/log_queries.xml
CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
dpkg -i package_folder/clickhouse-server_*.deb; \

View File

@ -0,0 +1,7 @@
<yandex>
<profiles>
<default>
<log_queries>1</log_queries>
</default>
</profiles>
</yandex>