diff --git a/tests/utils.go b/tests/utils.go index f37472d432..e07a46d488 100644 --- a/tests/utils.go +++ b/tests/utils.go @@ -94,6 +94,9 @@ func (env *ClickHouseTestEnvironment) setVersion() { TLS: tlsConfig, DialTimeout: time.Duration(timeout) * time.Second, }) + if err != nil { + panic(err) + } v, err := conn.ServerVersion() if err != nil { panic(err)