Throw ContextLoadException on test context load failure
When a test context fails to load, a `ContextLoadException` should be thrown so that Framework can catch it and call any registered `ApplicationContextFailureProcessor`s. Closes gh-31793
This commit is contained in:
@@ -1,2 +1,5 @@
|
||||
org.springframework.boot.test.context.DefaultTestExecutionListenersPostProcessor=\
|
||||
org.springframework.boot.test.context.bootstrap.TestDefaultTestExecutionListenersPostProcessor
|
||||
|
||||
org.springframework.test.context.ApplicationContextFailureProcessor=\
|
||||
org.springframework.boot.test.context.SpringBootContextLoaderTests.ContextLoaderApplicationContextFailureProcessor
|
||||
Reference in New Issue
Block a user