Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
Update internal/k8s/secret_controller_test.go
Browse files Browse the repository at this point in the history
Co-authored-by: Ignasi Barrera <[email protected]>
  • Loading branch information
zhaohuabing and nacx authored Feb 27, 2024
1 parent 82ad658 commit 938baa2
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions internal/k8s/secret_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,7 @@ func TestOIDCProcessWithKubernetesSecret(t *testing.T) {
require.NoError(t, err)
}()

t.Cleanup(func() {
cancel()
require.NoError(t, testEnv.Stop())
})
t.Cleanup(cancel)

var secrets []*corev1.Secret
if tt.hasSecretRef {
Expand Down

0 comments on commit 938baa2

Please sign in to comment.