From 7d8ae8af78914ba5c336d187e1f22a2f7e260bf4 Mon Sep 17 00:00:00 2001 From: Anthony Romano Date: Mon, 1 Feb 2016 11:32:22 -0800 Subject: [PATCH] integration: accept transient failure state in TestGRPCRejectInsecureClient --- integration/v3_grpc_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration/v3_grpc_test.go b/integration/v3_grpc_test.go index 04ba159b0..a898e24ac 100644 --- a/integration/v3_grpc_test.go +++ b/integration/v3_grpc_test.go @@ -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()