mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Merge pull request #9129 from Jokser/disks-section-for-functional-tests
Added disks section for stateless functional testing.
This commit is contained in:
commit
71c6430f10
9
dbms/tests/config/disks.xml
Normal file
9
dbms/tests/config/disks.xml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
<yandex>
|
||||||
|
<storage_configuration>
|
||||||
|
<disks>
|
||||||
|
<disk_memory>
|
||||||
|
<type>memory</type>
|
||||||
|
</disk_memory>
|
||||||
|
</disks>
|
||||||
|
</storage_configuration>
|
||||||
|
</yandex>
|
@ -56,5 +56,6 @@ CMD dpkg -i package_folder/clickhouse-common-static_*.deb; \
|
|||||||
ln -s /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/; \
|
ln -s /usr/share/clickhouse-test/config/strings_dictionary.xml /etc/clickhouse-server/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/; \
|
ln -s /usr/share/clickhouse-test/config/decimals_dictionary.xml /etc/clickhouse-server/; \
|
||||||
ln -s /usr/share/clickhouse-test/config/macros.xml /etc/clickhouse-server/config.d/; \
|
ln -s /usr/share/clickhouse-test/config/macros.xml /etc/clickhouse-server/config.d/; \
|
||||||
|
ln -s /usr/share/clickhouse-test/config/disks.xml /etc/clickhouse-server/config.d/; \
|
||||||
service zookeeper start; sleep 5; \
|
service zookeeper start; sleep 5; \
|
||||||
service clickhouse-server start && sleep 5 && clickhouse-test --testname --shard --zookeeper $ADDITIONAL_OPTIONS $SKIP_TESTS_OPTION 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt
|
service clickhouse-server start && sleep 5 && clickhouse-test --testname --shard --zookeeper $ADDITIONAL_OPTIONS $SKIP_TESTS_OPTION 2>&1 | ts '%Y-%m-%d %H:%M:%S' | tee test_output/test_result.txt
|
||||||
|
Loading…
Reference in New Issue
Block a user