mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #33724 from guangxuli/k8s_test_oidc
Automatic merge from submit-queue no need to remove file respectively
This commit is contained in:
commit
074891749b
@ -45,10 +45,7 @@ func TestNewOIDCAuthProvider(t *testing.T) {
|
||||
}
|
||||
cert := path.Join(tempDir, "oidc-cert")
|
||||
key := path.Join(tempDir, "oidc-key")
|
||||
|
||||
defer os.Remove(cert)
|
||||
defer os.Remove(key)
|
||||
defer os.Remove(tempDir)
|
||||
defer os.RemoveAll(tempDir)
|
||||
|
||||
oidctesting.GenerateSelfSignedCert(t, "127.0.0.1", cert, key)
|
||||
op := oidctesting.NewOIDCProvider(t, "")
|
||||
|
Loading…
Reference in New Issue
Block a user