asD
This commit is contained in:
@@ -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>),
|
||||||
))
|
// ))
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user