Skip to content

Commit 66956c9

Browse files
committed
Rename the alert to TestAlertFeatureE2ETestOTA1813
1 parent ac49e15 commit 66956c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/cvo/accept_risks.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ var _ = g.Describe(`[Jira:"Cluster Version Operator"] cluster-version-operator`,
9595
Name: "test",
9696
Rules: []monitoringv1.Rule{
9797
{
98-
Alert: "TestAlert",
98+
Alert: "TestAlertFeatureE2ETestOTA1813",
9999
Annotations: map[string]string{"summary": "Test summary.", "description": "Test description."},
100100
Expr: intstr.IntOrString{
101101
Type: intstr.String,
@@ -122,7 +122,7 @@ var _ = g.Describe(`[Jira:"Cluster Version Operator"] cluster-version-operator`,
122122
cv, err := configClient.ClusterVersions().Get(ctx, external.DefaultClusterVersionName, metav1.GetOptions{})
123123
o.Expect(err).NotTo(o.HaveOccurred())
124124
for _, risk := range cv.Status.ConditionalUpdateRisks {
125-
if risk.Name == "TestAlert" {
125+
if risk.Name == "TestAlertFeatureE2ETestOTA1813" {
126126
if c := meta.FindStatusCondition(risk.Conditions, external.ConditionalUpdateRiskConditionTypeApplies); c != nil {
127127
if c.Status == metav1.ConditionTrue && external.IsAlertConditionReason(c.Reason) {
128128
return true, nil

0 commit comments

Comments
 (0)