Merge pull request #43326 from ClickHouse/igor/test_read_only_fast_fix

Fix: make test_read_only_table more stable
This commit is contained in:
Igor Nikonov 2022-11-21 18:25:14 +01:00 committed by GitHub
commit 47ce029cbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,8 @@ 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,
)