From f7d3f48e2e7c006c5e7436b607053a12745e0c9b Mon Sep 17 00:00:00 2001 From: Jatin Rungta <9137405+urdarinda@users.noreply.github.com> Date: Tue, 17 Dec 2024 19:03:13 +0530 Subject: [PATCH] Fix tests --- extra/redisotel/metrics_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/extra/redisotel/metrics_test.go b/extra/redisotel/metrics_test.go index 5ebc987e8..0c8535ace 100644 --- a/extra/redisotel/metrics_test.go +++ b/extra/redisotel/metrics_test.go @@ -58,7 +58,7 @@ func TestMetrics(t *testing.T) { { Attributes: attribute.NewSet( semconv.DBSystemRedis, - attribute.String("status", "error"), + attribute.String("status", "ok"), ), }, }, @@ -75,7 +75,7 @@ func TestMetrics(t *testing.T) { Attributes: attribute.NewSet( semconv.DBSystemRedis, attribute.String("type", "command"), - attribute.String("status", "error"), + attribute.String("status", "ok"), ), }, }, @@ -114,7 +114,7 @@ func TestCustomAttributes(t *testing.T) { { Attributes: attribute.NewSet( semconv.DBSystemRedis, - attribute.String("status", "error"), + attribute.String("status", "ok"), ), }, }, @@ -131,7 +131,7 @@ func TestCustomAttributes(t *testing.T) { Attributes: attribute.NewSet( semconv.DBSystemRedis, attribute.String("type", "command"), - attribute.String("status", "error"), + attribute.String("status", "ok"), attribute.String("custom", "value"), ), },