Log queries in performance tests

This commit is contained in:
Alexander Kuzmenkov 2020-02-07 22:06:21 +03:00
parent 1b55150701
commit 016afd6c0e

View File

@ -1,12 +1,13 @@
#!/bin/bash #!/bin/bash
set -x set -ex
install_packages() { install_packages() {
dpkg -i package_folder/clickhouse-common-static_*.deb dpkg -i package_folder/clickhouse-common-static_*.deb
dpkg -i package_folder/clickhouse-server_*.deb dpkg -i package_folder/clickhouse-server_*.deb
dpkg -i package_folder/clickhouse-client_*.deb dpkg -i package_folder/clickhouse-client_*.deb
dpkg -i package_folder/clickhouse-test_*.deb dpkg -i package_folder/clickhouse-test_*.deb
ln -s /usr/share/clickhouse-test/config/log_queries.xml /etc/clickhouse-server/config.d/
service clickhouse-server start && sleep 5 service clickhouse-server start && sleep 5
} }