When test resources where detected (application-test.yaml, application-test.properties) then the command line arguments were not being read / checked.
This prevents the case where we run something in src/test (usually a test) and provide properties configuration via command line arguments. This is a pretty rare scenario, in fact I don't think anyone has hit this scenario yet but I think the existing behaviour is confusing.
Changing to: Always going to read command line arg properties.
When test resources where detected (application-test.yaml, application-test.properties) then the command line arguments were not being read / checked.
This prevents the case where we run something in src/test (usually a test) and provide properties configuration via command line arguments. This is a pretty rare scenario, in fact I don't think anyone has hit this scenario yet but I think the existing behaviour is confusing.
Changing to: Always going to read command line arg properties.