Skip to content

Commit

Permalink
ci: improve ems alert logging and event generation
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrinds committed Apr 26, 2023
1 parent 898404c commit adae138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/test/bookend_ems_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func TestEmsTestSuite(t *testing.T) {
// If the issuingEms did not exist before, then ignore the test-case.
if oldAlertsData[issuingEms] > 0 {
v := newAlertsData[issuingEms] - oldAlertsData[issuingEms]
if v > 1 {
if v >= 0 {
t.Errorf("Extra bookend ems alerts raised event=%s, count=%d", issuingEms, v)
}
} else {
Expand Down

0 comments on commit adae138

Please sign in to comment.