Reset Spring-Boot During Integration Tests
I guess am trying to get a corner case to work here. In my current project there are about 20 integration tests. One new integration test requires @EnableAsync to make the test work: @RunWith(SpringRunner.class) @EnableAsync @SpringBootTest(webEnvironment = WebEnvironment.NONE) public class MyITest { : } When run alone, this test works fine. Considering Maven and Eclipse' execution of tests in one project and knowing that the environment is only created once and reused (or soft-reset) for all integration tests, it's somewhat a requirement that this integration test runs first. However, that's