mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: Fix unit test failures from new grpc LB changes, fix bom
This commit is contained in:
parent
55ef9cc1d0
commit
05c57a0ea4
@ -134,6 +134,15 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"project": "github.com/grpc-ecosystem/go-grpc-middleware/util/backoffutils",
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache License 2.0",
|
||||
"confidence": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"project": "github.com/grpc-ecosystem/go-grpc-prometheus",
|
||||
"licenses": [
|
||||
|
@ -981,7 +981,7 @@ func WaitClientV3(t *testing.T, kv clientv3.KV) {
|
||||
var err error
|
||||
for time.Now().Before(timeout) {
|
||||
ctx, cancel := context.WithTimeout(context.Background(), requestTimeout)
|
||||
_, err := kv.Get(ctx, "/")
|
||||
_, err = kv.Get(ctx, "/")
|
||||
cancel()
|
||||
if err == nil {
|
||||
return
|
||||
|
@ -1948,6 +1948,6 @@ func waitForRestart(t *testing.T, kvc pb.KVClient) {
|
||||
}
|
||||
}
|
||||
if err != nil {
|
||||
t.Fatal("timed out waiting for restart: %v", err)
|
||||
t.Fatalf("timed out waiting for restart: %v", err)
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user