File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sdk/trace/src/test/java/io/opentelemetry/sdk/trace Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 99import static org .assertj .core .api .Assertions .assertThat ;
1010import static org .assertj .core .api .Assertions .assertThatThrownBy ;
1111import static org .mockito .ArgumentMatchers .any ;
12- import static org .mockito .ArgumentMatchers .anyInt ;
12+ import static org .mockito .ArgumentMatchers .eq ;
1313import static org .mockito .Mockito .mock ;
1414import static org .mockito .Mockito .spy ;
1515import 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}
You can’t perform that action at this time.
0 commit comments