From 905dfd9b77f61859d045e5f6b1abb0f5a3a6224d Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Fri, 5 Feb 2016 17:00:21 -0600 Subject: [PATCH] Fix another instance of golang #12262 Reliably reproducible on two up-to-date Fedora 23 machines using go 1.5.3, both one Core i7-4770R and a Core i7-4790. https://github.com/golang/go/issues/12262 --- plugin/pkg/auth/authenticator/token/oidc/oidc_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugin/pkg/auth/authenticator/token/oidc/oidc_test.go b/plugin/pkg/auth/authenticator/token/oidc/oidc_test.go index 348ae19b9e0..76d7c114702 100644 --- a/plugin/pkg/auth/authenticator/token/oidc/oidc_test.go +++ b/plugin/pkg/auth/authenticator/token/oidc/oidc_test.go @@ -309,7 +309,8 @@ func TestOIDCAuthentication(t *testing.T) { t.Fatalf("Cannot load cert/key pair: %v", err) } srv.StartTLS() - defer srv.Close() + // TODO: Uncomment when fix #19254 + // defer srv.Close() op.pcfg = oidc.ProviderConfig{ Issuer: srv.URL,