Skip to content

Commit 09b99a5

Browse files
committed
feedback
1 parent 06f974d commit 09b99a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sdk/trace/src/test/java/io/opentelemetry/sdk/trace/SdkTracerProviderTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import static org.assertj.core.api.Assertions.assertThat;
1010
import static org.assertj.core.api.Assertions.assertThatThrownBy;
1111
import static org.mockito.ArgumentMatchers.any;
12-
import static org.mockito.ArgumentMatchers.anyInt;
12+
import static org.mockito.ArgumentMatchers.eq;
1313
import static org.mockito.Mockito.mock;
1414
import static org.mockito.Mockito.spy;
1515
import static org.mockito.Mockito.verify;
@@ -304,6 +304,6 @@ void exceptionAttributeResolver() {
304304
Exception exception = new Exception("error");
305305
builder.build().get("tracer").spanBuilder("span").startSpan().recordException(exception).end();
306306

307-
verify(exceptionAttributeResolver).setExceptionAttributes(any(), any(), anyInt());
307+
verify(exceptionAttributeResolver).setExceptionAttributes(any(), any(), eq(maxAttributeLength));
308308
}
309309
}

0 commit comments

Comments
 (0)