Automatic style fix

This commit is contained in:
robot-clickhouse 2024-10-24 16:05:37 +00:00
parent 294ee94c4d
commit 615976def8

View File

@ -204,14 +204,20 @@ def test_async_load_system_database(started_cluster):
# Access some system tables that might be still loading
if id > 1:
for j in range(3):
node2.query(f"select count() from system.text_log_{random.randint(1, id - 1)}")
node2.query(f"select count() from system.query_log_{random.randint(1, id - 1)}")
node2.query(
f"select count() from system.text_log_{random.randint(1, id - 1)}"
)
node2.query(
f"select count() from system.query_log_{random.randint(1, id - 1)}"
)
# Generate more system tables
for j in range(30):
while True:
count = int(
node2.query("select count() from system.tables where database = 'system' and name in ['query_log', 'text_log']")
node2.query(
"select count() from system.tables where database = 'system' and name in ['query_log', 'text_log']"
)
)
if count == 2:
break