Skip to content

Commit

Permalink
test: set -v=5 to get debug logs in e2e (#846)
Browse files Browse the repository at this point in the history
Signed-off-by: Anish Ramasekar <anish.ramasekar@gmail.com>
  • Loading branch information
aramase committed Mar 30, 2022
1 parent 21f8715 commit b5d9d3a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions test/e2e/framework/deploy/deploy.go
Expand Up @@ -100,6 +100,9 @@ func InstallManifest(kubeconfigPath string, config *framework.Config) {
MountPath: "/etc/kubernetes/custom_environment.json",
})

// Configure higher log verbosity for debugging CI failures
ds.Spec.Template.Spec.Containers[0].Args = append(ds.Spec.Template.Spec.Containers[0].Args, "-v=5")

updatedDS, err := yaml.Marshal(ds)
Expect(err).To(BeNil())

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/framework/helm/helm.go
Expand Up @@ -51,7 +51,7 @@ func Install(input InstallInput) {
fmt.Sprintf("--set=secrets-store-csi-driver.rotationPollInterval=30s"),
fmt.Sprintf("--set=secrets-store-csi-driver.syncSecret.enabled=true"),
fmt.Sprintf(`--set=secrets-store-csi-driver.tokenRequests[0].audience=api://AzureADTokenExchange`),
fmt.Sprintf("--set=logVerbosity=1"),
fmt.Sprintf("--set=logVerbosity=5"),
fmt.Sprintf("--set=linux.customUserAgent=csi-e2e"),
fmt.Sprintf("--set=windows.customUserAgent=csi-e2e"),
"--dependency-update",
Expand Down

0 comments on commit b5d9d3a

Please sign in to comment.