Fix 01459_manual_write_to_replicas flaky test

This commit is contained in:
alesapin 2021-01-25 10:43:20 +03:00
parent fe133580ee
commit 94f6a5533e

View File

@ -32,7 +32,9 @@ wait
for i in $(seq 1 $NUM_REPLICAS); do
$CLICKHOUSE_CLIENT -n -q "
SYSTEM SYNC REPLICA r$i;
SELECT count(), min(x), max(x), sum(x) FROM r$i;
DROP TABLE IF EXISTS r$i;
"
SELECT count(), min(x), max(x), sum(x) FROM r$i;"
done
for i in $(seq 1 $NUM_REPLICAS); do
$CLICKHOUSE_CLIENT -q "DROP TABLE IF EXISTS r$i;"
done