mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-22 15:42:02 +00:00
Merge pull request #55774 from kssenii/fix-mat-pg-test
Fix test test_postgresql_replica_database_engine_2/test.py::test_replica_consumer
This commit is contained in:
commit
998e068d73
@ -760,13 +760,16 @@ VALUES (1, (SELECT array_to_string(ARRAY(SELECT chr((100 + round(random() * 25))
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.skip(reason="flaky test, will fix soon")
|
||||
def test_replica_consumer(started_cluster):
|
||||
table = "test_replica_consumer"
|
||||
pg_manager_instance2.restart()
|
||||
|
||||
pg_manager.create_postgres_table(table)
|
||||
instance.query(
|
||||
f"INSERT INTO postgres_database.{table} SELECT number, number from numbers(0, 50)"
|
||||
)
|
||||
|
||||
for pm in [pg_manager, pg_manager_instance2]:
|
||||
pm.create_and_fill_postgres_table(table)
|
||||
pm.create_materialized_db(
|
||||
ip=started_cluster.postgres_ip,
|
||||
port=started_cluster.postgres_port,
|
||||
|
Loading…
Reference in New Issue
Block a user