mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 23:52:03 +00:00
tests: drop existing view in test_materialized_mysql_database
This should avoid failures of other tests in case of some previous test failed Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
This commit is contained in:
parent
4bb95305a4
commit
4f6d59ce7f
@ -992,6 +992,7 @@ def select_without_columns(clickhouse_node, mysql_node, service_name):
|
||||
)
|
||||
check_query(clickhouse_node, "SHOW TABLES FROM db FORMAT TSV", "t\n")
|
||||
clickhouse_node.query("SYSTEM STOP MERGES db.t")
|
||||
clickhouse_node.query("DROP VIEW v IF EXISTS")
|
||||
clickhouse_node.query("CREATE VIEW v AS SELECT * FROM db.t")
|
||||
mysql_node.query("INSERT INTO db.t VALUES (1, 1), (2, 2)")
|
||||
mysql_node.query("DELETE FROM db.t WHERE a = 2;")
|
||||
|
Loading…
Reference in New Issue
Block a user