So you have different tests that have different properties requirements and you want to change the springboot properties at runtime for some of the tests. The simplest way to do that is to set the properties using @TestPropertySource annotation.
e.g. You have a property spring.jpa.hibernate.ddl-auto that is set to update in your default properties and you want to change this to none for some of the tests, you can annotate the test with @TestPropertySource(properties = “spring.jpa.hibernate.ddl-auto = none”)