mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-20 05:05:38 +00:00
Merge pull request #73432 from ClickHouse/rmv-flaky-test-fixes
RMV: fix flaky test_query_fail
This commit is contained in:
commit
eba3941bdb
@ -217,6 +217,11 @@ def fn_setup_tables():
|
|||||||
)
|
)
|
||||||
node.query(f"INSERT INTO src1 VALUES ('2020-01-01', 1), ('2020-01-02', 2)")
|
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(
|
@pytest.mark.parametrize(
|
||||||
"select_query",
|
"select_query",
|
||||||
@ -280,7 +285,7 @@ def test_append(
|
|||||||
@pytest.mark.parametrize("if_not_exists", [True, False])
|
@pytest.mark.parametrize("if_not_exists", [True, False])
|
||||||
@pytest.mark.parametrize("depends_on", [None, ["default.dummy_rmv"]])
|
@pytest.mark.parametrize("depends_on", [None, ["default.dummy_rmv"]])
|
||||||
@pytest.mark.parametrize("empty", [True, False])
|
@pytest.mark.parametrize("empty", [True, False])
|
||||||
@pytest.mark.parametrize("database_name", ["test_db"]) # None,
|
@pytest.mark.parametrize("database_name", ["test_db"])
|
||||||
@pytest.mark.parametrize(
|
@pytest.mark.parametrize(
|
||||||
"settings",
|
"settings",
|
||||||
[
|
[
|
||||||
@ -555,8 +560,8 @@ def test_long_query_cancel(fn_setup_tables):
|
|||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="function")
|
||||||
def fn3_setup_tables():
|
def fn3_setup_tables():
|
||||||
node.query("DROP TABLE IF EXISTS tgt1 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")
|
node.query("DROP TABLE IF EXISTS test_rmv ON CLUSTER default SYNC")
|
||||||
node.query("DROP TABLE IF EXISTS test_db.test_rmv")
|
node.query("DROP TABLE IF EXISTS test_db.test_rmv")
|
||||||
|
|
||||||
node.query(
|
node.query(
|
||||||
|
Loading…
Reference in New Issue
Block a user