Skip to content

Commit 23a0eda

Browse files
committed
Miss the commit.
1 parent 92cb634 commit 23a0eda

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-kafka/src/test/java/org/springframework/kafka/support/micrometer/ObservationTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ void observationRuntimeException(@Autowired ExceptionListener listener, @Autowir
253253
assertThat(span.getTags().get("spring.kafka.template.name")).isEqualTo("runtimeExceptionTemplate");
254254
span = spans.poll();
255255
assertThat(span.getTags().get("spring.kafka.listener.id")).isEqualTo("obs4-0");
256-
assertThat(span.getError().getCause().getCause())
256+
assertThat(span.getError().getCause())
257257
.isInstanceOf(IllegalStateException.class)
258258
.hasMessage("obs4 run time exception");
259259
}

0 commit comments

Comments
 (0)