mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 09:32:01 +00:00
Add forgotten file
This commit is contained in:
parent
383fc06761
commit
849cddd8b2
@ -0,0 +1,5 @@
|
||||
<clickhouse>
|
||||
<merge_tree>
|
||||
<parts_to_throw_insert>5</parts_to_throw_insert>
|
||||
</merge_tree>
|
||||
</clickhouse>
|
@ -88,11 +88,8 @@ def setup_teardown():
|
||||
|
||||
|
||||
def test_add_new_table_to_replication(started_cluster):
|
||||
cursor = pg_manager.get_db_cursor()
|
||||
cursor.execute("DROP TABLE IF EXISTS test_table")
|
||||
NUM_TABLES = 5
|
||||
|
||||
pg_manager.create_and_fill_postgres_tables_from_cursor(cursor, NUM_TABLES, 10000)
|
||||
pg_manager.create_and_fill_postgres_tables(NUM_TABLES, 10000)
|
||||
pg_manager.create_materialized_db(
|
||||
ip=started_cluster.postgres_ip, port=started_cluster.postgres_port
|
||||
)
|
||||
@ -105,7 +102,7 @@ def test_add_new_table_to_replication(started_cluster):
|
||||
)
|
||||
|
||||
table_name = "postgresql_replica_5"
|
||||
pg_manager.create_and_fill_postgres_table_from_cursor(cursor, table_name)
|
||||
pg_manager.create_and_fill_postgres_table(table_name)
|
||||
|
||||
result = instance.query("SHOW CREATE DATABASE test_database")
|
||||
assert (
|
||||
|
Loading…
Reference in New Issue
Block a user