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

DisableLazyInit loads classes too early #12

Open
ahaarrestad opened this issue Aug 14, 2018 · 0 comments
Open

DisableLazyInit loads classes too early #12

ahaarrestad opened this issue Aug 14, 2018 · 0 comments

Comments

@ahaarrestad
Copy link

The annotation "@DisableLazyInit" should not do eager-loading, but instead do injection of the classes as the last step before returning the context to the tests. If eager loading is done too early, you might end up with the class being loaded before for example flyway is in place. This causes some issues when running the tests.

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