mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Merge pull request #21071 from soltysh/server_close
Auto commit by PR queue bot
This commit is contained in:
commit
7f1b699880
@ -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) {
|
|||||||
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user