Skip to content

Commit f7d3f48

Browse files
committed
Fix tests
1 parent b04e7ba commit f7d3f48

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

extra/redisotel/metrics_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ func TestMetrics(t *testing.T) {
5858
{
5959
Attributes: attribute.NewSet(
6060
semconv.DBSystemRedis,
61-
attribute.String("status", "error"),
61+
attribute.String("status", "ok"),
6262
),
6363
},
6464
},
@@ -75,7 +75,7 @@ func TestMetrics(t *testing.T) {
7575
Attributes: attribute.NewSet(
7676
semconv.DBSystemRedis,
7777
attribute.String("type", "command"),
78-
attribute.String("status", "error"),
78+
attribute.String("status", "ok"),
7979
),
8080
},
8181
},
@@ -114,7 +114,7 @@ func TestCustomAttributes(t *testing.T) {
114114
{
115115
Attributes: attribute.NewSet(
116116
semconv.DBSystemRedis,
117-
attribute.String("status", "error"),
117+
attribute.String("status", "ok"),
118118
),
119119
},
120120
},
@@ -131,7 +131,7 @@ func TestCustomAttributes(t *testing.T) {
131131
Attributes: attribute.NewSet(
132132
semconv.DBSystemRedis,
133133
attribute.String("type", "command"),
134-
attribute.String("status", "error"),
134+
attribute.String("status", "ok"),
135135
attribute.String("custom", "value"),
136136
),
137137
},

0 commit comments

Comments
 (0)