Skip to content

Commit cf9ccf9

Browse files
committed
pathological events: bump KMS ScalingReplicaSet threshold to 150
The KMS encryption tests trigger cascading rollouts across openshift-apiserver and openshift-oauth-apiserver. The previous threshold of 100 was exceeded in CI (observed 106 events), causing spurious pathological event failures. Bump to 150 to provide adequate headroom.
1 parent 50759b5 commit cf9ccf9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

pkg/monitortestlibrary/pathologicaleventlibrary/duplicated_event_patterns.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@ func kmsEncryptionTestsDetected(finalIntervals monitorapi.Intervals) bool {
13911391
// in openshift-apiserver and openshift-oauth-apiserver during KMS encryption tests.
13921392
// KMS encryption tests trigger multiple kube-apiserver rollouts (encrypt/decrypt cycles)
13931393
// that cascade into these namespaces, generating ScalingReplicaSet events.
1394-
// Observed: 58-82 times per run; threshold set to 100 with headroom.
1394+
// Observed: 58-106 times per run; threshold set to 120 with headroom.
13951395
func newKMSEncryptionTestScalingReplicaSetMatcher() EventMatcher {
13961396
return &SimplePathologicalEventMatcher{
13971397
name: "APIServerScalingReplicaSetDuringKMSEncryption",
@@ -1400,7 +1400,7 @@ func newKMSEncryptionTestScalingReplicaSetMatcher() EventMatcher {
14001400
monitorapi.LocatorDeploymentKey: regexp.MustCompile(`^apiserver$`),
14011401
},
14021402
messageReasonRegex: regexp.MustCompile(`^ScalingReplicaSet$`),
1403-
repeatThresholdOverride: 100,
1403+
repeatThresholdOverride: 120,
14041404
}
14051405
}
14061406

0 commit comments

Comments
 (0)