mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Add one more test
This commit is contained in:
parent
21c34ad59b
commit
669c7bf571
@ -21,5 +21,14 @@
|
||||
<database>clickhouse</database>
|
||||
<table>test_table</table>
|
||||
</mysql3>
|
||||
<mysql4>
|
||||
<user>root</user>
|
||||
<password>clickhouse</password>
|
||||
<host>mysql57</host>
|
||||
<port>3306</port>
|
||||
<database>clickhouse</database>
|
||||
<table>test_table</table>
|
||||
<connection_pool_size>0</connection_pool_size>
|
||||
</mysql4>
|
||||
</named_collections>
|
||||
</clickhouse>
|
||||
|
@ -418,7 +418,8 @@ def test_predefined_connection_configuration(started_cluster):
|
||||
''')
|
||||
assert (node1.query(f"SELECT count() FROM test_table").rstrip() == '100')
|
||||
|
||||
assert 'Connection pool cannot have zero size' in node1.query_and_get_error(f"SELECT count() FROM mysql(mysql1, table='test_table', connection_pool_size=0)").rstrip()
|
||||
assert 'Connection pool cannot have zero size' in node1.query_and_get_error(f"SELECT count() FROM mysql(mysql1, table='test_table', connection_pool_size=0)")
|
||||
assert 'Connection pool cannot have zero size' in node1.query_and_get_error(f"SELECT count() FROM mysql(mysql4)")
|
||||
|
||||
|
||||
# Regression for (k, v) IN ((k, v))
|
||||
|
Loading…
Reference in New Issue
Block a user