Testing mysqlxx::PoolWithFailover [#CLICKHOUSE-3167]

This commit is contained in:
Alexey Milovidov 2017-07-28 00:11:57 +03:00
parent aac6b8ed9f
commit 8523d3fc8f

View File

@ -302,8 +302,16 @@ def generate_dictionaries(args):
source_mysql = '''
<mysql>
<replica>
<priority>1</priority>
<host>127.0.0.1</host>
<port>3333</port> <!-- Wrong port, for testing basic failover to work. -->
</replica>
<replica>
<priority>2</priority>
<host>localhost</host>
<port>3306</port>
</replica>
<user>root</user>
<password></password>
<db>test</db>