Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport "Cannot override initializer of @ContextConfiguration when using @ContextHierarchy" [SPR-11011] #15639

Closed
spring-issuemaster opened this issue Oct 21, 2013 · 1 comment
Assignees
Labels
Milestone

Comments

@spring-issuemaster
Copy link
Collaborator

@spring-issuemaster spring-issuemaster commented Oct 21, 2013

Sam Brannen opened SPR-11011 and commented


Affects: 3.2.2

This issue is a backport sub-task of #15625

Referenced from: commits 63de2fa

@spring-issuemaster

This comment has been minimized.

Copy link
Collaborator Author

@spring-issuemaster spring-issuemaster commented Oct 21, 2013

Sam Brannen commented

This issue has been addressed as described in the comments for GitHub commit 63de2fab4c:

Assert context uniqueness against merged config

Prior to this commit, the uniqueness check for @ContextConfiguration
attributes within a @ContextHierarchy was performed at a single test
class level instead of against the merged configuration for all test
class levels in the test class hierarchy.

This commit addresses this issue by moving the uniqueness check
algorithm from resolveContextHierarchyAttributes() to
buildContextHierarchyMap() within ContextLoaderUtils.

Backport-Commit: 7658d85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.