diff --git a/micrometer-observation-test/src/test/java/io/micrometer/observation/tck/ObservationValidatorTests.java b/micrometer-observation-test/src/test/java/io/micrometer/observation/tck/ObservationValidatorTests.java index 15149286db..0206d7eb82 100644 --- a/micrometer-observation-test/src/test/java/io/micrometer/observation/tck/ObservationValidatorTests.java +++ b/micrometer-observation-test/src/test/java/io/micrometer/observation/tck/ObservationValidatorTests.java @@ -195,4 +195,9 @@ void startScopeErrorEventStopShouldBeValid() { observation.stop(); } + @Test + void startErrorErrorStopShouldBeValid() { + Observation.start("test", registry).error(new RuntimeException()).error(new RuntimeException()).stop(); + } + }