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 }}
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Feb 23, 2023. It is now read-only.
Fix MergedContextConfiguration cache key for runtime contexts #1262
While #1242 prevents certain ContextCustomizerFactory implementations from running again at runtime and lets us support more test use cases in a native image, it has the side effect of not providing the same key for the created MergedContextConfiguration as some of these implementations have an impact on the key.
We already know at build time which tests corresponds to which "context" as given by the created mapping:
Activity
sbrannen commentedon Nov 18, 2021
Update
I'm making progress on this, but I do not foresee completing this in time for RC1.
[WIP] Synthesize MergedContextConfiguration in AOT test mode
sbrannen commentedon Nov 18, 2021
Current work on this issue can be viewed in the following feature branch.
main...sbrannen:issues/gh-1262-AOT-MergedContextConfiguration
[WIP] Synthesize MergedContextConfiguration in AOT test mode
[WIP] Synthesize MergedContextConfiguration in AOT test mode
Use AotMergedContextConfiguration for test classes in AOT mode
Use AotMergedContextConfiguration for test classes in AOT mode
Use AotMergedContextConfiguration for test classes in AOT mode
Introduce AotMergedContextConfiguration for tests in AOT mode
Introduce AotMergedContextConfiguration for tests in AOT mode
Introduce AotMergedContextConfiguration for tests in AOT mode
Introduce integration tests for context caching in AOT test mode
snicoll commentedon Dec 7, 2021
Closing in favor of PR #1341
Introduce AotMergedContextConfiguration for tests in AOT mode
Reinstate @disabled integration test for context caching in AOT test …
Revise TestContextAotProcessor according to review feedback
Revise TestContextAotProcessorTests according to review feedback
Revise AotCacheAwareContextLoaderDelegate according to review feedback
Reduce duplication in AotContextLoader according to review feedback
Rename AotContextLoader to AotTestMappings and update Javadoc
Introduce unit tests for AotMergedContextConfiguration
Introduce integration tests for AotCacheAwareContextLoaderDelegate