There are few integrations tests based on ProjectWithCDITemplate.java which tests enabling and disabling of CDI support. These tests are failing randomly.
What do they do?
- addCDISupport test
- create CDI project
- disable CDI support
- enable CDI support
- In the case of CDI 10 there should be warning "Missing beans.xml file in the project...", but sometimes it happens that the problem is not shown.
- removeCDISupport
- create CDI project
- disable CDI support
- check that there is no problem in problem view
- The message "Missing beans.xml" disappeared but these were shown:
See also the log: removeCDISupport.log
- The message "Missing beans.xml" disappeared but these were shown:
I have never reproduced this problem locally but on jenkins (slower HW?). I think that a chance to reproduce is about 25%.
I think that from users point of view it isn't so severe. There is easy workaround - just clean project or edit and save some file. Unfortunately, this problem affects also another tests, it is one of reasons why CDI tests are still yellow.
Jenkins jobs:
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/cdi10.itests/
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/cdi11.itests/
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/deltaspike.itests/