mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-15 12:14:18 +00:00
Automatic style fix
This commit is contained in:
parent
294ee94c4d
commit
615976def8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user