Skip to content

Commit 04de34f

Browse files
committed
address review comment
1 parent 759a977 commit 04de34f

File tree

1 file changed

+3
-3
lines changed
  • instrumentation/rediscala-1.8/javaagent/src/test/scala/io/opentelemetry/javaagent/instrumentation/rediscala

1 file changed

+3
-3
lines changed

instrumentation/rediscala-1.8/javaagent/src/test/scala/io/opentelemetry/javaagent/instrumentation/rediscala/RediscalaClientTest.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class RediscalaClientTest {
119119
.hasName("SET")
120120
.hasKind(CLIENT)
121121
.hasParent(trace.getSpan(0))
122-
.hasAttributesSatisfying(
122+
.hasAttributesSatisfyingExactly(
123123
equalTo(DB_SYSTEM, REDIS),
124124
equalTo(SemconvStabilityUtil.maybeStable(DB_OPERATION), "SET")
125125
)
@@ -165,7 +165,7 @@ class RediscalaClientTest {
165165
.hasName("SET")
166166
.hasKind(CLIENT)
167167
.hasParent(trace.getSpan(0))
168-
.hasAttributesSatisfying(
168+
.hasAttributesSatisfyingExactly(
169169
equalTo(DB_SYSTEM, REDIS),
170170
equalTo(SemconvStabilityUtil.maybeStable(DB_OPERATION), "SET")
171171
)
@@ -177,7 +177,7 @@ class RediscalaClientTest {
177177
.hasName("GET")
178178
.hasKind(CLIENT)
179179
.hasParent(trace.getSpan(0))
180-
.hasAttributesSatisfying(
180+
.hasAttributesSatisfyingExactly(
181181
equalTo(DB_SYSTEM, REDIS),
182182
equalTo(SemconvStabilityUtil.maybeStable(DB_OPERATION), "GET")
183183
)

0 commit comments

Comments
 (0)