asD
Some checks failed
E2E Tests / Run on Ubuntu (push) Failing after 36s
Lint / Run on Ubuntu (push) Failing after 1m5s
Tests / Run on Ubuntu (push) Successful in 2m13s

This commit is contained in:
Chris Richardson
2025-05-13 08:06:56 -04:00
parent 60f4f65407
commit a229c7cf59

View File

@@ -22,7 +22,6 @@ import (
"os" "os"
"os/exec" "os/exec"
"path/filepath" "path/filepath"
"strings"
"time" "time"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
@@ -262,11 +261,11 @@ var _ = Describe("Manager", Ordered, func() {
// TODO: Customize the e2e test suite with scenarios specific to your project. // TODO: Customize the e2e test suite with scenarios specific to your project.
// Consider applying sample/CR(s) and check their status and/or verifying // Consider applying sample/CR(s) and check their status and/or verifying
// the reconciliation by using the metrics, i.e.: // the reconciliation by using the metrics, i.e.:
metricsOutput := getMetricsOutput() // metricsOutput := getMetricsOutput()
Expect(metricsOutput).To(ContainSubstring( // Expect(metricsOutput).To(ContainSubstring(
fmt.Sprintf(`controller_runtime_reconcile_total{controller="%s",result="success"} 1`, // fmt.Sprintf(`controller_runtime_reconcile_total{controller="%s",result="success"} 1`,
strings.ToLower(<Kind>), // strings.ToLower(<Kind>),
)) // ))
}) })
}) })