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
|
@Override
|
||||||
public int getOrder() {
|
public int getOrder() {
|
||||||
return -1000;
|
return 100_000;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected boolean isSpringTestContextCloseEnabled() {
|
protected boolean isSpringTestContextCloseEnabled() {
|
||||||
|
|||||||
Reference in New Issue
Block a user