mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +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)
|
||||
}
|
||||
srv.StartTLS()
|
||||
defer srv.Close()
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer srv.Close()
|
||||
|
||||
op.pcfg = oidc.ProviderConfig{
|
||||
Issuer: srv.URL,
|
||||
@ -277,7 +278,8 @@ func TestOIDCDiscoverySecureConnection(t *testing.T) {
|
||||
t.Fatalf("Cannot load cert/key pair: %v", err)
|
||||
}
|
||||
tlsSrv.StartTLS()
|
||||
defer tlsSrv.Close()
|
||||
// TODO: Uncomment when fix #19254
|
||||
// defer tlsSrv.Close()
|
||||
|
||||
op.pcfg = oidc.ProviderConfig{
|
||||
Issuer: tlsSrv.URL,
|
||||
|
Loading…
Reference in New Issue
Block a user