This commit is contained in:
Sema Checherinda 2024-08-08 19:38:48 +02:00
parent 117fedd3bb
commit e55d81fd42

View File

@ -13,7 +13,7 @@ DROP TABLE IF EXISTS test;
CREATE TABLE test (a Int32, b String) CREATE TABLE test (a Int32, b String)
ENGINE = MergeTree() ORDER BY tuple() ENGINE = MergeTree() ORDER BY tuple()
SETTINGS disk = disk(name = 's3_disk', type = cache, max_size = '100Ki', path = ${CLICKHOUSE_TEST_UNIQUE_NAME}, disk = s3_disk); SETTINGS disk = disk(name = 's3_disk', type = cache, max_size = '100Ki', path = ${CLICKHOUSE_TEST_UNIQUE_NAME}, disk = s3_disk);
""" 2>&1 | grep -q "The disk \`s3_disk\` is already exist and described by the config" && echo 'OK' || echo 'FAIL' """ 2>&1 | grep -q "Disk \`s3_disk\` already exists and is described by the config" && echo 'OK' || echo 'FAIL'
disk_name="${CLICKHOUSE_TEST_UNIQUE_NAME}" disk_name="${CLICKHOUSE_TEST_UNIQUE_NAME}"