Use test class inheritance
Create a test class, annotate it with @SpringBootTest(properties=["app.secondprop=99"]) Your other test where you wish to have this value of the property could inherit this class
@SpringBootTest(properties=["app.secondprop=99"])