Similar to #29698, we need to move away from the use of spring.factories for @ManagementContextConfiguration imports. We can flesh this out later based on what we learn while working on #29698.