Merge pull request #73432 from ClickHouse/rmv-flaky-test-fixes

RMV: fix flaky test_query_fail
This commit is contained in:
Nikita Fomichev 2024-12-17 17:33:07 +00:00 committed by GitHub
commit eba3941bdb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -217,6 +217,11 @@ def fn_setup_tables():
)
node.query(f"INSERT INTO src1 VALUES ('2020-01-01', 1), ('2020-01-02', 2)")
yield
node.query("DROP TABLE IF EXISTS test_rmv ON CLUSTER default")
node.query("DROP TABLE IF EXISTS test_db.test_rmv")
@pytest.mark.parametrize(
"select_query",
@ -280,7 +285,7 @@ def test_append(
@pytest.mark.parametrize("if_not_exists", [True, False])
@pytest.mark.parametrize("depends_on", [None, ["default.dummy_rmv"]])
@pytest.mark.parametrize("empty", [True, False])
@pytest.mark.parametrize("database_name", ["test_db"]) # None,
@pytest.mark.parametrize("database_name", ["test_db"])
@pytest.mark.parametrize(
"settings",
[
@ -555,8 +560,8 @@ def test_long_query_cancel(fn_setup_tables):
@pytest.fixture(scope="function")
def fn3_setup_tables():
node.query("DROP TABLE IF EXISTS tgt1 ON CLUSTER default")
node.query("DROP TABLE IF EXISTS test_rmv ON CLUSTER default")
node.query("DROP TABLE IF EXISTS tgt1 ON CLUSTER default SYNC")
node.query("DROP TABLE IF EXISTS test_rmv ON CLUSTER default SYNC")
node.query("DROP TABLE IF EXISTS test_db.test_rmv")
node.query(