You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Do not synchronize ApplicationContext creation in the TestContext framework [SPR-10536] #15166
DefaultCacheAwareContextLoaderDelegate.loadContext() synchronizes access to the ContextCache which means that ApplicationContexts cannot be initialized in parallel.
I tried removing the ContextCache altogether, but this uncovered a deadlock in AbstractBeanFactory. Trying to fix that with a shared lock caused some race condition to autowire a nullEnvironment into a @Configuration class' field.
changed the title [-]Do not serialize ApplicationContext creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/+]on Feb 24, 2023
changed the title [-]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize ApplicationContext creation in the TestContext framework [SPR-10536][/+]on Feb 14, 2024
changed the title [-]Do not synchronize ApplicationContext creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/+]on Feb 14, 2024
Activity
spring-projects-issues commentedon Oct 20, 2013
Sam Brannen commented
This issue is closely related to #10532.
[-]Do not serialize ApplicationContext creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/+][-]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize ApplicationContext creation in the TestContext framework [SPR-10536][/+][-]Do not synchronize ApplicationContext creation in the TestContext framework [SPR-10536][/-][+]Do not synchronize `ApplicationContext` creation in the TestContext framework [SPR-10536][/+]