-
Notifications
You must be signed in to change notification settings - Fork 60
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
fix flaky test testObserverMethodsInParentOfAlternativeAndSpecialized #100
base: main
Are you sure you want to change the base?
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.
This code part is not intended to be used in parallel. When running the Tests in parallel, they should boot up different BeanManagers. That can be done with running those in own isolated ClassLoaders. I also tried it locally with even more nondex runs and got no problems.
Hi, Thank you for the response. |
Hi! Seems nondex is a really cool tool for testing whether tests are really reliable. In this very case it creates a false positive though. The reason is that the whole CDI container is not intended to be started in parallel for the same application. Or rather for the same ClassLoader. This is the very core of a JavaEE/JakartaEE container and thus most parts are single threaded by definition. Probably there is some room for internal parallelisation but I fear removing from a list based on a single boolean is not helping much. |
Hi, Thank you for the reply,
|
…Beans