title: @DirtiesContext not working as expected after upgrading to Spring Boot 2.2.2
body: <p>I am trying to upgrade my application from Spring Boot <code>v2.1.8</code> to <code>v2.2.2</code>. However, after upgrading some tests start failing.</p>
  
  <p>The pattern of failing tests strongly indicates that <code>@DirtiesContext(classMode = DirtiesContext.ClassMode.AFTER_EACH_TEST_METHOD)</code>, applied on test class, is failing to clear context after each test case.</p>
  
  <p>I am unable to narrow down further. Will appreciate any help.</p>