fix flaky test testObserverMethodsInParentOfAlternativeAndSpecialized#100
fix flaky test testObserverMethodsInParentOfAlternativeAndSpecialized#100ljmcr wants to merge 1 commit intoapache:mainfrom
Conversation
struberg
left a comment
There was a problem hiding this comment.
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