add client config

This commit is contained in:
Alexander Kuzmenkov 2020-11-04 18:07:34 +03:00
parent 5cb708a50a
commit 8d5fe1148c
2 changed files with 18 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ function upload_results
--secure \
--user "${CHPC_DATABASE_USER}" \
--password "${CHPC_DATABASE_PASSWORD}" \
--config "ch/tests/config/client_config.xml" \
--config "right/config/client_config.xml" \
--database perftest \
--date_time_input_format=best_effort \
--query "

View File

@ -0,0 +1,17 @@
<!--
This config is used to upload test results to a public ClickHouse instance.
It has bad certificates so we ignore them.
-->
<config>
<openSSL>
<client>
<loadDefaultCAFile>true</loadDefaultCAFile>
<cacheSessions>true</cacheSessions>
<disableProtocols>sslv2,sslv3</disableProtocols>
<preferServerCiphers>true</preferServerCiphers>
<invalidCertificateHandler>
<name>AcceptCertificateHandler</name> <!-- For tests only-->
</invalidCertificateHandler>
</client>
</openSSL>
</config>