diff --git a/tests/config/config.d/storage_conf_02961.xml b/tests/config/config.d/storage_conf_02961.xml new file mode 100644 index 00000000000..476150e11d7 --- /dev/null +++ b/tests/config/config.d/storage_conf_02961.xml @@ -0,0 +1,44 @@ + + + + + local + disk1_02961/ + + + local + disk2_02961/ + + + local + disk3_02961/ + + + local + disk4_02961/ + + + + + + + + disk1_02961 + 2 + + + disk2_02961 + + + disk3_02961 + 1 + + + disk4_02961 + + + 0.2 + + + + diff --git a/tests/queries/0_stateless/02961_storage_config_volume_priority.reference b/tests/queries/0_stateless/02961_storage_config_volume_priority.reference new file mode 100644 index 00000000000..ac4e63b175d --- /dev/null +++ b/tests/queries/0_stateless/02961_storage_config_volume_priority.reference @@ -0,0 +1,4 @@ +vol_untagged1_02961 1 +vol_untagged2_02961 2 +vol2_02961 3 +vol1_02961 4 diff --git a/tests/queries/0_stateless/02961_storage_config_volume_priority.sql b/tests/queries/0_stateless/02961_storage_config_volume_priority.sql new file mode 100644 index 00000000000..6680bf7fcde --- /dev/null +++ b/tests/queries/0_stateless/02961_storage_config_volume_priority.sql @@ -0,0 +1,7 @@ +SELECT + volume_name, + volume_priority +FROM system.storage_policies +WHERE policy_name = 'policy_02961' +ORDER BY volume_priority ASC; +