Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[exporter/clickhouse] Fix ut when clickhouse-go/v2 version bump up #18284

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cmd/configschema/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ require (
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/ClickHouse/ch-go v0.50.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.4.3 // indirect
github.com/ClickHouse/ch-go v0.51.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.5.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.67 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
github.com/DataDog/datadog-agent/pkg/otlp/model v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
Expand Down Expand Up @@ -545,7 +545,7 @@ require (
github.com/outcaste-io/ristretto v0.2.0 // indirect
github.com/ovh/go-ovh v1.3.0 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/paulmach/orb v0.7.1 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
Expand Down
12 changes: 6 additions & 6 deletions cmd/configschema/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions cmd/otelcontribcol/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,8 @@ require (
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/ClickHouse/ch-go v0.50.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.4.3 // indirect
github.com/ClickHouse/ch-go v0.51.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.5.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.67 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
github.com/DataDog/datadog-agent/pkg/otlp/model v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
Expand Down Expand Up @@ -491,7 +491,7 @@ require (
github.com/outcaste-io/ristretto v0.2.0 // indirect
github.com/ovh/go-ovh v1.3.0 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/paulmach/orb v0.7.1 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
Expand Down
12 changes: 6 additions & 6 deletions cmd/otelcontribcol/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion exporter/clickhouseexporter/exporter_logs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func TestLogsExporter_New(t *testing.T) {
}{
"no dsn": {
config: withDefaultConfig(),
want: failWithMsg("dial tcp: missing address"),
want: failWithMsg("exec create logs table sql: parse dsn address failed"),
},
}

Expand Down
6 changes: 3 additions & 3 deletions exporter/clickhouseexporter/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/exporter/clickh
go 1.18

require (
github.com/ClickHouse/clickhouse-go/v2 v2.4.3
github.com/ClickHouse/clickhouse-go/v2 v2.5.1
github.com/cenkalti/backoff/v4 v4.2.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/coreinternal v0.70.0
github.com/stretchr/testify v1.8.1
Expand All @@ -17,7 +17,7 @@ require (
)

require (
github.com/ClickHouse/ch-go v0.50.0 // indirect
github.com/ClickHouse/ch-go v0.51.0 // indirect
github.com/andybalholm/brotli v1.0.4 // indirect
github.com/benbjohnson/clock v1.3.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -35,7 +35,7 @@ require (
github.com/mitchellh/reflectwalk v1.0.2 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/paulmach/orb v0.7.1 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
Expand Down
12 changes: 6 additions & 6 deletions exporter/clickhouseexporter/go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ require (
github.com/Azure/go-autorest/autorest/validation v0.3.1 // indirect
github.com/Azure/go-autorest/logger v0.2.1 // indirect
github.com/Azure/go-autorest/tracing v0.6.0 // indirect
github.com/ClickHouse/ch-go v0.50.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.4.3 // indirect
github.com/ClickHouse/ch-go v0.51.0 // indirect
github.com/ClickHouse/clickhouse-go/v2 v2.5.1 // indirect
github.com/DataDog/agent-payload/v5 v5.0.67 // indirect
github.com/DataDog/datadog-agent/pkg/obfuscate v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
github.com/DataDog/datadog-agent/pkg/otlp/model v0.43.0-rc.3.0.20230201114415-fae4332beb98 // indirect
Expand Down Expand Up @@ -550,7 +550,7 @@ require (
github.com/outcaste-io/ristretto v0.2.0 // indirect
github.com/ovh/go-ovh v1.3.0 // indirect
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
github.com/paulmach/orb v0.7.1 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/philhofer/fwd v1.1.2 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
Expand Down
12 changes: 6 additions & 6 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.