Skip to content

Commit ea032b1

Browse files
committed
tests: fix 03820_plain_rewritable_over_another_disk_with_same_path failures in private
1 parent 4be028f commit ea032b1

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

tests/queries/0_stateless/03820_plain_rewritable_over_another_disk_with_same_path.sh

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,16 @@ CUR_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
55
# shellcheck source=../shell_config.sh
66
. "$CUR_DIR"/../shell_config.sh
77

8+
settings=(
9+
# Not compatible with DC
10+
--write_through_distributed_cache=0
11+
--read_through_distributed_cache=0
12+
)
13+
814
echo "cache_on_write_operations=0"
915
endpoint="http://localhost:11111/test/s3_plain_rewritable_${CLICKHOUSE_DATABASE}_cache_on_write_operations_0"
1016
cache_path="${CLICKHOUSE_DATABASE}_cache_disk_cache_on_write_operations_0"
11-
$CLICKHOUSE_CLIENT -nm -q "
17+
$CLICKHOUSE_CLIENT "${settings[@]}" -nm -q "
1218
drop table if exists mt1;
1319
drop table if exists mt1;
1420
drop table if exists mt3;
@@ -31,7 +37,7 @@ drop table mt4;
3137
echo "cache_on_write_operations=1"
3238
endpoint="http://localhost:11111/test/s3_plain_rewritable_${CLICKHOUSE_DATABASE}_cache_on_write_operations_1"
3339
cache_path="${CLICKHOUSE_DATABASE}_cache_disk_cache_on_write_operations_1"
34-
$CLICKHOUSE_CLIENT -nm -q "
40+
$CLICKHOUSE_CLIENT "${settings[@]}" -nm -q "
3541
drop table if exists mt1;
3642
drop table if exists mt1;
3743
drop table if exists mt3;

0 commit comments

Comments
 (0)