Skip to content

Commit

Permalink
Debug CI failure
Browse files Browse the repository at this point in the history
Signed-off-by: Shubhendu Ram Tripathi <[email protected]>
  • Loading branch information
shtripat committed Jan 10, 2024
1 parent 7e04980 commit c125062
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions kesconf/vault_ci_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ package kesconf

import (
"flag"
"fmt"
"os"
"testing"
)

Expand All @@ -21,6 +23,9 @@ func TestVaultCI(t *testing.T) {
t.Fatal(err)
}

fmt.Println("VAULT_APPROLE_ID=", os.Getenv("VAULT_APPROLE_ID"))
fmt.Println("VAULT_APPROLE_SECRET=", os.Getenv("VAULT_APPROLE_SECRET"))
fmt.Println("Keystore: ", config.KeyStore.(*VaultKeyStore))
if _, ok := config.KeyStore.(*VaultKeyStore); !ok {
t.Fatalf("Invalid Keystore: want %T - got %T", config.KeyStore, &VaultKeyStore{})
}
Expand Down

0 comments on commit c125062

Please sign in to comment.