Skip to content

Commit

Permalink
Fix runbook_url test (#3028)
Browse files Browse the repository at this point in the history
Signed-off-by: assafad <aadmi@redhat.com>
Co-authored-by: Assaf Admi <aadmi@redhat.com>
  • Loading branch information
kubevirt-bot and assafad committed Jul 21, 2024
1 parent baa0134 commit 9e199e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/func-tests/monitoring_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ var _ = Describe("[crit:high][vendor:cnv-qe@redhat.com][level:system]Monitoring"
"%s summary is missing or empty", rule.Alert)
Expect(rule.Annotations).To(HaveKey("runbook_url"),
"%s runbook_url is missing", rule.Alert)
Expect(rule.Annotations).To(HaveKeyWithValue("runbook_url", HaveSuffix(rule.Alert)),
"%s runbook_url is not equal to alert name", rule.Alert)
Expect(rule.Annotations).To(HaveKeyWithValue("runbook_url", ContainSubstring(rule.Alert)),
"%s runbook_url doesn't include alert name", rule.Alert)
checkRunbookURLAvailability(rule)
}
}
Expand Down

0 comments on commit 9e199e7

Please sign in to comment.