Skip to content

Commit 25796e0

Browse files
committed
Polish "Consistent condition for ObservedAspectConfiguration"
See gh-45601
1 parent b22d3ca commit 25796e0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

spring-boot-project/spring-boot-actuator-autoconfigure/src/test/java/org/springframework/boot/actuate/autoconfigure/observation/ObservationAutoConfigurationTests.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,8 @@ void allowsObservedAspectToBeDisabled() {
185185
}
186186

187187
@Test
188-
void allowsObservedAspectToBeEnabledWithDeprecatedProperty() {
188+
@Deprecated(since = "3.3.12", forRemoval = true)
189+
void allowsObservedAspectToBeEnabledWithLegacyProperty() {
189190
this.contextRunner
190191
.withPropertyValues("management.observations.annotations.enabled=false",
191192
"micrometer.observations.annotations.enabled=true")

0 commit comments

Comments
 (0)