-
Notifications
You must be signed in to change notification settings - Fork 692
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
TOMEE-4342 - ApplicationComposer in PER_JVM should be able to inject @Resource into test #1167
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thx @rzo1!
Once merged, could this be 🍒 picked to 9.1.x maintenance branch for a potential 9.1.4 release? @rzo1 |
Shouldnt it use injector if cdi is disabled and nothing else (owbinjector)? |
We don't have a lot of tests with Adding the actual test class to Would that be the actual way to solve it with application composer? (If so, we just need to update the docs). Or do you mean, that we are missing a fallback via |
Test classes are injected and resources already handled. |
Thx @rmannibucau for clarification - I will update the test, verify it works and than remove my changes and update the docs, so it is clear how to use from user perspective. |
I can confirm that adding the test class in
Thx @rmannibucau for clarification. Thx @rzo1 for updating the docs - so community can better understand what is required in such a scenario. |
Thx for checking it, @mawiesne and @rmannibucau for pointing out the limitations of the single instance in suites. |
No description provided.