From b424701ac473849616faf4e242f86e467ce7e098 Mon Sep 17 00:00:00 2001 From: Alex Goodisman Date: Wed, 1 May 2024 13:57:37 -0400 Subject: [PATCH] fix integration tests --- integration-tests/fault-injection/redisStopStart_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/integration-tests/fault-injection/redisStopStart_test.go b/integration-tests/fault-injection/redisStopStart_test.go index 155fdc09..94787b09 100644 --- a/integration-tests/fault-injection/redisStopStart_test.go +++ b/integration-tests/fault-injection/redisStopStart_test.go @@ -61,6 +61,7 @@ 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) @@ -68,6 +69,7 @@ func TestRedisStopStart(t *testing.T) { 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)