mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 17:41:59 +00:00
Automatic style fix
This commit is contained in:
parent
e9dcc751ac
commit
bc456820a0
@ -25,7 +25,8 @@ def test_insert_exception_over_http(start_cluster):
|
||||
)
|
||||
|
||||
assert True == instance.http_query_and_get_error(
|
||||
"insert into tt settings insert_keeper_max_retries=0, insert_keeper_fault_injection_probability=1.0, log_comment='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' values (1), (2), (3), (4), (5)", method='POST'
|
||||
"insert into tt settings insert_keeper_max_retries=0, insert_keeper_fault_injection_probability=1.0, log_comment='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' values (1), (2), (3), (4), (5)",
|
||||
method="POST",
|
||||
).startswith("500 Internal Server Error")
|
||||
|
||||
assert "0\n" == instance.query("select count() from tt")
|
||||
@ -33,9 +34,11 @@ def test_insert_exception_over_http(start_cluster):
|
||||
instance.query("SYSTEM FLUSH LOGS")
|
||||
|
||||
assert "1\n" == instance.query(
|
||||
"select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'QueryStart'")
|
||||
"select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'QueryStart'"
|
||||
)
|
||||
|
||||
assert "1\n" == instance.query(
|
||||
"select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'ExceptionWhileProcessing'")
|
||||
"select count() from system.query_log where log_comment ='02988_66a57d6f-d1cc-4693-8bf4-206848edab87' and current_database = currentDatabase() and event_date >= yesterday() and type = 'ExceptionWhileProcessing'"
|
||||
)
|
||||
|
||||
instance.query("DROP TABLE tt SYNC")
|
||||
|
Loading…
Reference in New Issue
Block a user