Skip to content

Commit 19f39c5

Browse files
committed
cleanup test
1 parent f529dab commit 19f39c5

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/e2e/metrics_test.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,10 +91,9 @@ var _ = Describe("Metrics", Label("Metrics"), func() {
9191

9292
metrics := []string{
9393
"controller_runtime_reconcile_total",
94-
"appwrapper_phase_total",
9594
}
9695

97-
By("Getting the metrics by checking curl-metrics logs", func() {
96+
By("Getting the metrics via curl", func() {
9897
Eventually(func(g Gomega) {
9998
cmd := exec.Command("kubectl", "exec", "-n", managerNamespace, "curl-metrics", "--", "/bin/sh", "-c",
10099
fmt.Sprintf(
@@ -103,9 +102,7 @@ var _ = Describe("Metrics", Label("Metrics"), func() {
103102
),
104103
)
105104
metricsOutput, err := cmd.CombinedOutput()
106-
_, _ = fmt.Fprintf(GinkgoWriter, "err: %v\n", err)
107105
g.Expect(err).NotTo(HaveOccurred())
108-
_, _ = fmt.Fprintf(GinkgoWriter, "output is: %v\n", string(metricsOutput))
109106
for _, metric := range metrics {
110107
g.Expect(string(metricsOutput)).To(ContainSubstring(metric))
111108
}

0 commit comments

Comments
 (0)