Skip to content

Commit 9f8b238

Browse files
committed
less verbose
1 parent f7ab542 commit 9f8b238

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

tests/e2e/k8s.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -644,6 +644,9 @@ func setupReducedLogging() {
644644
os.Setenv("TEST_LOG_LEVEL", "-5")
645645
// Reduce kubectl verbosity
646646
os.Setenv("KUBECTL_VERBOSITY", "0")
647+
// Additional environment variables to reduce terratest kubectl command logging
648+
os.Setenv("TERRATEST_LOG_LEVEL", "INFO")
649+
os.Setenv("KUBECTL_LOG_LEVEL", "0")
647650
}
648651
}
649652

tests/e2e/uninstall_cluster.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func requireDeleteKafkaCluster(kubectlOptions k8s.KubectlOptions, name string) {
5151
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
5252

5353
return resources
54-
}, kafkaClusterResourceCleanupTimeout, 1*time.Second).Should(gomega.BeEmpty())
54+
}, kafkaClusterResourceCleanupTimeout, 10*time.Second).Should(gomega.BeEmpty())
5555
})
5656
}
5757

@@ -74,6 +74,6 @@ func requireDeleteZookeeperCluster(kubectlOptions k8s.KubectlOptions, name strin
7474
"--all-namespaces", kubectlArgGoTemplateKindNameNamespace)
7575
gomega.Expect(err).ShouldNot(gomega.HaveOccurred())
7676
return resources
77-
}, zookeeperClusterResourceCleanupTimeout, 1*time.Second).Should(gomega.BeEmpty())
77+
}, zookeeperClusterResourceCleanupTimeout, 10*time.Second).Should(gomega.BeEmpty())
7878
})
7979
}

0 commit comments

Comments
 (0)