Skip to content

Commit

Permalink
fix: CI test
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Sep 26, 2024
1 parent 0ba466d commit 91a1af4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/ClickHouseNIOTests/ClickhouseNIOTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class TestConnection {
// openssl dhparam -out /etc/clickhouse-server/dhparam.pem 1024 // NOTE use 4096 in prod
// chown -R clickhouse:clickhouse /etc/clickhouse-server/
// Port 9440 = secure tcp, 9000 regular tcp
let tls = TLSConfiguration.makePreSharedKeyConfiguration()
let tls = TLSConfiguration.forClient(certificateVerification: .none)
let config = try! ClickHouseConfiguration(
hostname: ip, user: user, password: password, connectTimeout: .seconds(10), readTimeout: .seconds(3), queryTimeout: .seconds(5), tlsConfiguration: tls)
connection = try! ClickHouseConnection.connect(configuration: config, on: eventLoopGroup.next()).wait()
Expand Down

0 comments on commit 91a1af4

Please sign in to comment.