Increase the 'order' precedence of the CloseApplicationContextAfterTestClassTestExecutionListener to occur after all Spring TestContext framework provided TestExecutionListeners.
This commit is contained in:
@@ -59,7 +59,7 @@ public class CloseApplicationContextAfterTestClassTestExecutionListener extends
|
||||
*/
|
||||
@Override
|
||||
public int getOrder() {
|
||||
return -1000;
|
||||
return 100_000;
|
||||
}
|
||||
|
||||
protected boolean isSpringTestContextCloseEnabled() {
|
||||
|
||||
Reference in New Issue
Block a user