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
This commit is contained in:
Dan Williams 2016-02-05 17:00:21 -06:00
parent 9d776d999d
commit 905dfd9b77

View File

@ -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,