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

startApplication=false should skip application lifecycle event ServerStartUpEvent #796

Open
hantsy opened this issue Jun 17, 2023 · 0 comments

Comments

@hantsy
Copy link

hantsy commented Jun 17, 2023

Expected Behavior

Upgrading my example https://github.com/hantsy/micronaut-sandbox/tree/master/data-r2dbc to Micronaut 4.0.0-M4, the startApplication=false on the Repository tests should not invoke ServerStartUpEvent.

It seems this bug is introduced in the new 4.0.0x version.

Actual Behaviour

https://github.com/hantsy/micronaut-sandbox/actions/runs/5295521879/jobs/9585938247

Steps To Reproduce

  1. https://github.com/hantsy/micronaut-sandbox/tree/master/data-r2dbc
  2. Run CustomerRepositoryTest

Environment Information

Windows 10 Pro, Java 17

Example Application

https://github.com/hantsy/micronaut-sandbox/tree/master/data-r2dbc

Version

4.0.0-M4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant