Skip to content

Commit 3b22c2a

Browse files
committed
fix ut
1 parent 77c7624 commit 3b22c2a

File tree

1 file changed

+1
-2
lines changed
  • instrumentation/twilio-6.6/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/twilio

1 file changed

+1
-2
lines changed

instrumentation/twilio-6.6/javaagent/src/test/java/io/opentelemetry/javaagent/instrumentation/twilio/TwilioClientTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,10 @@ void synchronousCall() throws URISyntaxException {
197197
testing.waitAndAssertTraces(
198198
trace ->
199199
trace.hasSpansSatisfyingExactly(
200-
span -> span.hasName("test").hasNoParent(),
200+
span -> span.hasName("test").hasNoParent().hasAttributes(Attributes.empty()),
201201
span ->
202202
span.hasName("CallCreator.create")
203203
.hasKind(CLIENT)
204-
.hasAttributes(Attributes.empty())
205204
.hasAttributesSatisfyingExactly(
206205
equalTo(
207206
stringKey("twilio.type"), "com.twilio.rest.api.v2010.account.Call"),

0 commit comments

Comments
 (0)