@ConditionalOnEnabledTracing used to be on the BraveAutoConfiguration. See this revision: https://github.com/spring-projects/spring-boot/blob/411586347c8fae00373028bac51dfd16e69661c5/spring-boot-project/spring-boot-actuator-autoconfigure/src/main/java/org/springframework/boot/actuate/autoconfigure/tracing/BraveAutoConfiguration.java

It's unclear to me from the git history why it was removed, and I think it's incorrect. This is causing an issue with (testing) upgrading to 3.2 currently.

Comment From: scottfrederick

This change was made as part of #35354, and mentioned in the 3.2.0-M1 release notes. Do the suggestions in the release notes resolve your issues with testing?

Comment From: paulbakker

That explains! I had missed it in the release notes.

We're doing something like this in Spring Boot Netflix to have similar behavior in tests, so this is good, actually. We'll have to rework a few assumptions, but that's easy enough.

Thanks!