mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
integration: accept transient failure state in TestGRPCRejectInsecureClient
This commit is contained in:
parent
4ba1ec6a4d
commit
7d8ae8af78
@ -1464,8 +1464,8 @@ func TestTLSGRPCRejectInsecureClient(t *testing.T) {
|
||||
st, err = conn.WaitForStateChange(ctx, st)
|
||||
if err != nil {
|
||||
t.Fatalf("unexpected error waiting for change (%v)", err)
|
||||
} else if st != grpc.Connecting {
|
||||
t.Fatalf("expected connecting state, got %v", st)
|
||||
} else if st != grpc.Connecting && st != grpc.TransientFailure {
|
||||
t.Fatalf("expected connecting or transient failure state, got %v", st)
|
||||
}
|
||||
|
||||
cancel()
|
||||
|
Loading…
x
Reference in New Issue
Block a user