mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-29 11:02:08 +00:00
Fix flaky test test_drop_replica_and_achieve_quorum
This commit is contained in:
parent
f82d7789af
commit
2445375971
@ -144,25 +144,6 @@ def test_drop_replica_and_achieve_quorum(started_cluster):
|
|||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
print("Now we can insert some other data.")
|
|
||||||
zero.query(
|
|
||||||
"INSERT INTO test_drop_replica_and_achieve_quorum(a,d) VALUES (2, '2012-02-02')"
|
|
||||||
)
|
|
||||||
|
|
||||||
assert TSV("1\t2011-01-01\n2\t2012-02-02\n") == TSV(
|
|
||||||
zero.query("SELECT * FROM test_drop_replica_and_achieve_quorum ORDER BY a")
|
|
||||||
)
|
|
||||||
assert TSV("1\t2011-01-01\n2\t2012-02-02\n") == TSV(
|
|
||||||
first.query("SELECT * FROM test_drop_replica_and_achieve_quorum ORDER BY a")
|
|
||||||
)
|
|
||||||
assert TSV("1\t2011-01-01\n2\t2012-02-02\n") == TSV(
|
|
||||||
second.query("SELECT * FROM test_drop_replica_and_achieve_quorum ORDER BY a")
|
|
||||||
)
|
|
||||||
|
|
||||||
zero.query(
|
|
||||||
"DROP TABLE IF EXISTS test_drop_replica_and_achieve_quorum ON CLUSTER cluster"
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.parametrize(("add_new_data"), [False, True])
|
@pytest.mark.parametrize(("add_new_data"), [False, True])
|
||||||
def test_insert_quorum_with_drop_partition(started_cluster, add_new_data):
|
def test_insert_quorum_with_drop_partition(started_cluster, add_new_data):
|
||||||
|
Loading…
Reference in New Issue
Block a user