Skip to content

Commit 8043570

Browse files
authored
Add alerts to the sample Memcached operator (#6135)
Signed-off-by: assaf-admi <[email protected]> Signed-off-by: assaf-admi <[email protected]>
1 parent e0f197c commit 8043570

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1750
-189
lines changed

hack/generate/samples/internal/go/memcached-with-webhooks/e2e_test_code.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ var _ = Describe("memcached", Ordered, func() {
568568
569569
By(fmt.Sprintf("validating MemcachedDeploymentSizeUndesiredCountTotal has increased by %d", numberOfScales))
570570
finalMetricValue := getMetricValue(memcachedDeploymentSizeUndesiredCountTotalName)
571-
Expect(finalMetricValue).To(Equal(initialMetricValue + numberOfScales))
571+
Expect(finalMetricValue).Should(BeNumerically(">=", initialMetricValue+numberOfScales))
572572
})
573573
})
574574
})

0 commit comments

Comments
 (0)