mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-26 01:22:04 +00:00
fix test
This commit is contained in:
parent
2ef8fcb318
commit
70a3ffa0e6
@ -630,7 +630,6 @@ def test_no_connection_pooling(started_cluster):
|
|||||||
|
|
||||||
conn = get_postgres_conn(started_cluster)
|
conn = get_postgres_conn(started_cluster)
|
||||||
cursor = conn.cursor()
|
cursor = conn.cursor()
|
||||||
cursor.execute("truncate table clickhouse.test_table")
|
|
||||||
cursor.execute(
|
cursor.execute(
|
||||||
"insert into clickhouse.test_table values(1, 1, 'hello'),(2, 2, 'world')"
|
"insert into clickhouse.test_table values(1, 1, 'hello'),(2, 2, 'world')"
|
||||||
)
|
)
|
||||||
@ -651,6 +650,7 @@ def test_no_connection_pooling(started_cluster):
|
|||||||
assert "" == node1.exec_in_container(
|
assert "" == node1.exec_in_container(
|
||||||
["ss", "-H", "dport", "5432"], privileged=True, user="root"
|
["ss", "-H", "dport", "5432"], privileged=True, user="root"
|
||||||
)
|
)
|
||||||
|
cursor.execute("truncate table clickhouse.test_table")
|
||||||
|
|
||||||
|
|
||||||
def test_postgres_insert(started_cluster):
|
def test_postgres_insert(started_cluster):
|
||||||
|
Loading…
Reference in New Issue
Block a user