• Phillip Webb's avatar
    Support @SpringBootTest with @ContextHierarchy · 393c17b6
    Phillip Webb authored
    Update SpringBootTestContextBootstrapper to detect `@ContextHierarchy`
    annotations so that only the last child creates a
    `WebApplicationContext`.
    
    Prior to this commit a context hierarchy would start two embedded web
    servers which is inconsistent with the `SpringApplicationBuilder`
    behavior.
    
    Fixes gh-8311
    393c17b6
Name
Last commit
Last update
..
src Loading commit data...
pom.xml Loading commit data...