@Nested classes with nested @DynamicPropertySource get called in order, but don't get applied #37040
Labels
for: external-project
For an external project and not something we can fix
status: superseded
An issue that has been superseded by another
It seems that
@Nested
and@DynamicPropertySource
do not play together when both outer and inner classes have a source defined. Neither@DirtiesContext
nor inheriting / overwritting seems to do the trick, (overwritting expects a full setup, while inheriting has the methods called in proper order but they don't seem to get applied).I've added a manual test to the existing test class that should fail as I'd expect
"1"
to be the host but it is not.The text was updated successfully, but these errors were encountered: