Skip to content

Conversation

@bijukunjummen
Copy link
Contributor

Introduced additional checks to ensure that the bootstrap context is not already present in the hierarchy before adding one. Attempts to fix #153

@spencergibb spencergibb requested a review from dsyer January 26, 2017 17:20
*/
public class BootstrapListenerHierarchyIntegrationTests {

private ConfigurableApplicationContext context;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need for a field here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @spencergibb, this is fixed - the variable is now local to each test.

@spencergibb
Copy link
Member

ping @dsyer

@spencergibb
Copy link
Member

@bijukunjummen will you rebase?

@bijukunjummen
Copy link
Contributor Author

Done @spencergibb.

@dsyer
Copy link
Contributor

dsyer commented Feb 24, 2017

Fixed (I think in a better way, but only time will tell) in 331e790. I borrowed the test case though, thanks!

@dsyer dsyer closed this Feb 24, 2017
@bijukunjummen
Copy link
Contributor Author

Awesome, yes your fix appears way simpler @dsyer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Seeing multiple bootstrap contexts with Spring Boot hierarchy

3 participants