Commit 7f1b6998 authored by k8s-merge-robot's avatar k8s-merge-robot

Merge pull request #21071 from soltysh/server_close

Auto commit by PR queue bot
parents a89b607a 72654d34
...@@ -221,7 +221,8 @@ func TestOIDCDiscoveryNoKeyEndpoint(t *testing.T) { ...@@ -221,7 +221,8 @@ func TestOIDCDiscoveryNoKeyEndpoint(t *testing.T) {
t.Fatalf("Cannot load cert/key pair: %v", err) t.Fatalf("Cannot load cert/key pair: %v", err)
} }
srv.StartTLS() srv.StartTLS()
defer srv.Close() // TODO: Uncomment when fix #19254
// defer srv.Close()
op.pcfg = oidc.ProviderConfig{ op.pcfg = oidc.ProviderConfig{
Issuer: srv.URL, Issuer: srv.URL,
...@@ -277,7 +278,8 @@ func TestOIDCDiscoverySecureConnection(t *testing.T) { ...@@ -277,7 +278,8 @@ func TestOIDCDiscoverySecureConnection(t *testing.T) {
t.Fatalf("Cannot load cert/key pair: %v", err) t.Fatalf("Cannot load cert/key pair: %v", err)
} }
tlsSrv.StartTLS() tlsSrv.StartTLS()
defer tlsSrv.Close() // TODO: Uncomment when fix #19254
// defer tlsSrv.Close()
op.pcfg = oidc.ProviderConfig{ op.pcfg = oidc.ProviderConfig{
Issuer: tlsSrv.URL, Issuer: tlsSrv.URL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment