diff --git a/vault/vault_cooldowns_test.go b/vault/vault_cooldowns_test.go index b6c8a4b0..2cb1fb0d 100644 --- a/vault/vault_cooldowns_test.go +++ b/vault/vault_cooldowns_test.go @@ -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 {