mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Fix: make test_read_only_table more stable
+ add retries to INSERT queries after keeper node restart
This commit is contained in:
parent
7beb58b0cf
commit
d2d6e75d97
@ -84,6 +84,6 @@ def test_restart_zookeeper(start_cluster):
|
||||
time.sleep(5)
|
||||
|
||||
for table_id in range(NUM_TABLES):
|
||||
node1.query(
|
||||
f"INSERT INTO test_table_{table_id} VALUES (6), (7), (8), (9), (10);"
|
||||
node1.query_with_retry(
|
||||
sql = f"INSERT INTO test_table_{table_id} VALUES (6), (7), (8), (9), (10);", retry_count=10, sleep_time=1
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user