Skip to content

Commit

Permalink
fixing UT r4
Browse files Browse the repository at this point in the history
  • Loading branch information
zoxpx committed Apr 15, 2024
1 parent 5c9968f commit 3aaff8a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vault/vault_cooldowns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ var (
)

func setupK8sTests(t *testing.T) {
setup()
tokFile := "/var/run/secrets/kubernetes.io/serviceaccount/token"
if _, err := os.Stat(tokFile); os.IsNotExist(err) {
if err := os.MkdirAll(path.Dir(tokFile), 0755); err != nil {
Expand Down

0 comments on commit 3aaff8a

Please sign in to comment.