Increase the 'order' precedence of the CloseApplicationContextAfterTestClassTestExecutionListener to occur after all Spring TestContext framework provided TestExecutionListeners.

This commit is contained in:
John Blum
2021-10-28 11:02:36 -07:00
parent d971817a7e
commit 7602f7d704

View File

@@ -59,7 +59,7 @@ public class CloseApplicationContextAfterTestClassTestExecutionListener extends
*/
@Override
public int getOrder() {
return -1000;
return 100_000;
}
protected boolean isSpringTestContextCloseEnabled() {