Skip to content

Commit

Permalink
fix integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-goodisman committed May 1, 2024
1 parent 6f6d86a commit b424701
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions integration-tests/fault-injection/redisStopStart_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,15 @@ func TestRedisStopStart(t *testing.T) {

nSuccess := harness.FindPromMetricCounter(metrics, "otr_redispub_processed_messages", map[string]string{
"status": "sent",
"idx": "0",
})
if nSuccess != 100 {
t.Errorf("Metric otr_redispub_processed_messages(status: sent) = %d, expected 100", nSuccess)
}

nPermFail := harness.FindPromMetricCounter(metrics, "otr_redispub_processed_messages", map[string]string{
"status": "failed",
"idx": "0",
})
if nPermFail != 0 {
t.Errorf("Metric otr_redispub_processed_messages(status: failed) = %d, expected 0", nPermFail)
Expand Down

0 comments on commit b424701

Please sign in to comment.