]
Andre Dietisheim updated JBIDE-25436:
-------------------------------------
Affects Version/s: 4.5.2.AM1
(was: 4.5.2.AM2)
Problem with enabling/disabling CDI support
-------------------------------------------
Key: JBIDE-25436
URL:
https://issues.jboss.org/browse/JBIDE-25436
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: cdi
Affects Versions: 4.5.2.AM1
Environment: Jenkins - RHEL7, Win8, Win10, Mac
Reporter: Lukáš Valach
Assignee: Alexey Kazakov
Fix For: 4.5.x
Attachments:
org.jboss.tools.cdi.bot.test.wizard.cdi10.DynamicWebProjectWithCDITestCDI10.removeCDISupport.png,
removeCDISupport.log
There are few integrations tests based on
[
ProjectWithCDITemplate.java|https://github.com/jbosstools/jbosstools-inte...]
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:
!org.jboss.tools.cdi.bot.test.wizard.cdi10.DynamicWebProjectWithCDITestCDI10.removeCDISupport.png|thumbnail!
See also the log: [^removeCDISupport.log]
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.it...
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/cdi11.it...
https://dev-platform-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/deltaspi...