Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Abingcbc committed Oct 29, 2024
1 parent 76e214e commit 187ae6e
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 39 deletions.
2 changes: 1 addition & 1 deletion test/engine/setup/subscriber/clickhouse.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import (
)

const clickHouseName = "clickhouse"
const clickhouseQuerySQL = "select _timestamp,_log from `%s`.`loongcollector_%s_buffer` where _timestamp > %v order by _timestamp"
const clickhouseQuerySQL = "select _timestamp,_log from `%s`.`ilogtail_%s_buffer` where _timestamp > %v order by _timestamp"

type ClickHouseSubscriber struct {
Address string `mapstructure:"address" comment:"the clickhouse address"`
Expand Down
35 changes: 18 additions & 17 deletions test/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,18 @@ require (
github.com/alibabacloud-go/tea v1.2.1
github.com/avast/retry-go/v4 v4.6.0
github.com/cucumber/godog v0.14.1
github.com/docker/docker v20.10.23+incompatible
github.com/docker/docker v20.10.27+incompatible
github.com/docker/go-connections v0.4.0
github.com/elastic/go-elasticsearch/v8 v8.6.0
github.com/google/cadvisor v0.49.1
github.com/influxdata/influxdb1-client v0.0.0-20220302092344-a9ab5670611c
github.com/melbahja/goph v1.4.0
github.com/mitchellh/mapstructure v1.5.0
github.com/testcontainers/testcontainers-go v0.14.0
golang.org/x/crypto v0.10.0
google.golang.org/grpc v1.53.0
golang.org/x/crypto v0.16.0
golang.org/x/text v0.14.0
golang.org/x/time v0.3.0
google.golang.org/grpc v1.58.3
gopkg.in/yaml.v3 v3.0.1
k8s.io/api v0.24.0
k8s.io/apimachinery v0.24.0
Expand Down Expand Up @@ -55,7 +58,7 @@ require (
github.com/cucumber/gherkin/go/v26 v26.2.0 // indirect
github.com/cucumber/messages/go/v21 v21.0.1 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/docker/distribution v2.8.1+incompatible // indirect
github.com/docker/distribution v2.8.2+incompatible // indirect
github.com/docker/go-units v0.5.0 // indirect
github.com/elastic/elastic-transport-go/v8 v8.0.0-20211216131617-bbee439d559c // indirect
github.com/emicklei/go-restful v2.15.0+incompatible // indirect
Expand Down Expand Up @@ -86,15 +89,15 @@ require (
github.com/moby/spdystream v0.2.0 // indirect
github.com/moby/sys/mount v0.3.3 // indirect
github.com/moby/sys/mountinfo v0.6.2 // indirect
github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6 // indirect
github.com/moby/term v0.0.0-20221205130635-1aeaba878587 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/modern-go/reflect2 v1.0.2 // indirect
github.com/morikuni/aec v1.0.0 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/onsi/gomega v1.19.0 // indirect
github.com/opencontainers/go-digest v1.0.0 // indirect
github.com/opencontainers/image-spec v1.0.3-0.20211202183452-c5a74bcca799 // indirect
github.com/opencontainers/runc v1.1.3 // indirect
github.com/opencontainers/runc v1.1.12 // indirect
github.com/paulmach/orb v0.8.0 // indirect
github.com/pierrec/lz4 v2.6.1+incompatible // indirect
github.com/pierrec/lz4/v4 v4.1.17 // indirect
Expand All @@ -108,22 +111,19 @@ require (
go.opencensus.io v0.24.0 // indirect
go.opentelemetry.io/otel v1.11.2 // indirect
go.opentelemetry.io/otel/trace v1.11.2 // indirect
golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6
golang.org/x/net v0.11.0 // indirect
golang.org/x/oauth2 v0.5.0 // indirect
golang.org/x/sys v0.9.0 // indirect
golang.org/x/term v0.9.0 // indirect
golang.org/x/text v0.10.0 // indirect
golang.org/x/time v0.3.0 // indirect
golang.org/x/net v0.19.0 // indirect
golang.org/x/oauth2 v0.10.0 // indirect
golang.org/x/sys v0.15.0 // indirect
golang.org/x/term v0.15.0 // indirect
google.golang.org/appengine v1.6.7 // indirect
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230803162519-f966b187b2e5 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/inf.v0 v0.9.1 // indirect
gopkg.in/ini.v1 v1.66.2 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
k8s.io/klog/v2 v2.60.1 // indirect
k8s.io/klog/v2 v2.100.1 // indirect
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
k8s.io/utils v0.0.0-20230406110748-d93618cff8a2 // indirect
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
sigs.k8s.io/yaml v1.3.0 // indirect
Expand All @@ -132,4 +132,5 @@ require (
replace (
github.com/alibaba/ilogtail => ../
github.com/alibaba/ilogtail/pkg => ../pkg
)
github.com/google/cadvisor v0.49.1 => github.com/google/cadvisor v0.49.0
)
Loading

0 comments on commit 187ae6e

Please sign in to comment.