mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
enhance: Bump etcd in pkg go.mod (#46420)
Related to #44614 Previous PR: #44666 Bump etcd version in pkg/go.mod to 3.5.23 and update test code accordingly Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
bf838eea5d
commit
80fff56364
@ -60,7 +60,7 @@ func TestConfigFromRemote(t *testing.T) {
|
||||
mgr, _ := Init(WithEnvSource(formatKey),
|
||||
WithFilesSource(&FileInfo{[]string{"../../configs/milvus.yaml"}, -1}),
|
||||
WithEtcdSource(&EtcdInfo{
|
||||
Endpoints: []string{cfg.ACUrls[0].Host},
|
||||
Endpoints: []string{cfg.AdvertiseClientUrls[0].Host},
|
||||
KeyPrefix: "test",
|
||||
RefreshInterval: 10 * time.Millisecond,
|
||||
}))
|
||||
|
||||
@ -143,7 +143,7 @@ func TestOnEvent(t *testing.T) {
|
||||
RefreshInterval: 10 * time.Millisecond,
|
||||
}),
|
||||
WithEtcdSource(&EtcdInfo{
|
||||
Endpoints: []string{cfg.ACUrls[0].Host},
|
||||
Endpoints: []string{cfg.AdvertiseClientUrls[0].Host},
|
||||
KeyPrefix: "test",
|
||||
RefreshInterval: 10 * time.Millisecond,
|
||||
}))
|
||||
@ -253,7 +253,7 @@ func TestCachedConfig(t *testing.T) {
|
||||
RefreshInterval: 10 * time.Millisecond,
|
||||
}),
|
||||
WithEtcdSource(&EtcdInfo{
|
||||
Endpoints: []string{cfg.ACUrls[0].Host},
|
||||
Endpoints: []string{cfg.AdvertiseClientUrls[0].Host},
|
||||
KeyPrefix: "test",
|
||||
RefreshInterval: 10 * time.Millisecond,
|
||||
}))
|
||||
|
||||
19
pkg/go.mod
19
pkg/go.mod
@ -43,9 +43,9 @@ require (
|
||||
github.com/uber/jaeger-client-go v2.30.0+incompatible
|
||||
github.com/x448/float16 v0.8.4
|
||||
github.com/zilliztech/woodpecker v0.1.13
|
||||
go.etcd.io/etcd/api/v3 v3.5.5
|
||||
go.etcd.io/etcd/client/v3 v3.5.5
|
||||
go.etcd.io/etcd/server/v3 v3.5.5
|
||||
go.etcd.io/etcd/api/v3 v3.5.23
|
||||
go.etcd.io/etcd/client/v3 v3.5.23
|
||||
go.etcd.io/etcd/server/v3 v3.5.23
|
||||
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0
|
||||
go.opentelemetry.io/otel v1.34.0
|
||||
go.opentelemetry.io/otel/exporters/jaeger v1.13.0
|
||||
@ -64,7 +64,7 @@ require (
|
||||
golang.org/x/sync v0.18.0
|
||||
golang.org/x/sys v0.38.0
|
||||
google.golang.org/api v0.224.0
|
||||
google.golang.org/grpc v1.71.0
|
||||
google.golang.org/grpc v1.71.1
|
||||
google.golang.org/protobuf v1.36.5
|
||||
gopkg.in/natefinch/lumberjack.v2 v2.2.1
|
||||
gopkg.in/yaml.v2 v2.4.0
|
||||
@ -129,6 +129,7 @@ require (
|
||||
github.com/godbus/dbus/v5 v5.0.4 // indirect
|
||||
github.com/gofrs/flock v0.8.1 // indirect
|
||||
github.com/gogo/protobuf v1.3.2 // indirect
|
||||
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
|
||||
github.com/golang-jwt/jwt/v5 v5.3.0 // indirect
|
||||
github.com/golang/protobuf v1.5.4 // indirect
|
||||
github.com/golang/snappy v1.0.0 // indirect
|
||||
@ -198,11 +199,11 @@ require (
|
||||
github.com/valyala/fasttemplate v1.2.1 // indirect
|
||||
github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2 // indirect
|
||||
github.com/yusufpapurcu/wmi v1.2.3 // indirect
|
||||
go.etcd.io/bbolt v1.3.6 // indirect
|
||||
go.etcd.io/etcd/client/pkg/v3 v3.5.5 // indirect
|
||||
go.etcd.io/etcd/client/v2 v2.305.5 // indirect
|
||||
go.etcd.io/etcd/pkg/v3 v3.5.5 // indirect
|
||||
go.etcd.io/etcd/raft/v3 v3.5.5 // indirect
|
||||
go.etcd.io/bbolt v1.3.12 // indirect
|
||||
go.etcd.io/etcd/client/pkg/v3 v3.5.23 // indirect
|
||||
go.etcd.io/etcd/client/v2 v2.305.23 // indirect
|
||||
go.etcd.io/etcd/pkg/v3 v3.5.23 // indirect
|
||||
go.etcd.io/etcd/raft/v3 v3.5.23 // indirect
|
||||
go.mongodb.org/mongo-driver v1.13.1 // indirect
|
||||
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
||||
go.opentelemetry.io/contrib/detectors/gcp v1.34.0 // indirect
|
||||
|
||||
462
pkg/go.sum
462
pkg/go.sum
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user