mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 23:21:59 +00:00
Attempt to fix flacky test
This commit is contained in:
parent
04bdffd9d7
commit
080b2ec891
@ -1 +1,5 @@
|
|||||||
|
replica_01108_1_tmp
|
||||||
|
replica_01108_2_tmp
|
||||||
|
replica_01108_3_tmp
|
||||||
|
replica_01108_4_tmp
|
||||||
1180 40
|
1180 40
|
||||||
|
@ -63,6 +63,12 @@ timeout $TIMEOUT bash -c restart_thread_2 2> /dev/null &
|
|||||||
wait
|
wait
|
||||||
sleep 3
|
sleep 3
|
||||||
|
|
||||||
|
for i in `seq 4`; do
|
||||||
|
$CLICKHOUSE_CLIENT -q "SYSTEM SYNC REPLICA replica_01108_$i" >/dev/null 2>&1
|
||||||
|
$CLICKHOUSE_CLIENT -q "SYSTEM SYNC REPLICA replica_01108_${i}_tmp" >/dev/null 2>&1
|
||||||
|
done
|
||||||
|
|
||||||
|
$CLICKHOUSE_CLIENT -q "SHOW TABLES LIKE 'replica\\_01108\\_%'"
|
||||||
$CLICKHOUSE_CLIENT -q "SELECT sum(n), count(n) FROM merge(currentDatabase(), '^replica_01108_') GROUP BY position(_table, 'tmp')"
|
$CLICKHOUSE_CLIENT -q "SELECT sum(n), count(n) FROM merge(currentDatabase(), '^replica_01108_') GROUP BY position(_table, 'tmp')"
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user