mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 08:02:02 +00:00
Fix flaky test_delayed_replica_failover
This commit is contained in:
parent
14d0cc2bf3
commit
a45027f22c
@ -101,7 +101,7 @@ SELECT sum(x) FROM distributed WITH TOTALS SETTINGS
|
||||
# allow pings to zookeeper to timeout (must be greater than ZK session timeout).
|
||||
for _ in range(30):
|
||||
try:
|
||||
node_2_2.query("SELECT * FROM system.zookeeper where path = '/'")
|
||||
node_2_2.query("SELECT * FROM system.zookeeper where path = '/' SETTINGS insert_keeper_max_retries = 0")
|
||||
time.sleep(0.5)
|
||||
except:
|
||||
break
|
||||
@ -120,7 +120,7 @@ SELECT sum(x) FROM distributed SETTINGS
|
||||
== "3"
|
||||
)
|
||||
|
||||
# Regression for skip_unavailable_shards in conjunction with skip_unavailable_shards
|
||||
# Prefer fallback_to_stale_replicas over skip_unavailable_shards
|
||||
assert (
|
||||
instance_with_dist_table.query(
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user