Skip to content

Commit 9b3e3ee

Browse files
committed
update
1 parent b88d2e5 commit 9b3e3ee

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

instrumentation/jdbc/testing/src/main/java/io/opentelemetry/instrumentation/jdbc/testing/AbstractJdbcInstrumentationTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,8 @@ void testFailedStatement() throws SQLException {
449449
span.hasKind(SpanKind.CLIENT)
450450
.hasParent(trace.getSpan(0))
451451
.hasStatus(StatusData.error())
452-
.hasException(emitExceptionAsSpanEvents() ? error : null)));
452+
.hasException(emitExceptionAsSpanEvents() ? error : null)
453+
.hasTotalAttributeCount(3)));
453454

454455
if (emitExceptionAsLogs()) {
455456
testing()

0 commit comments

Comments
 (0)