[jbosstools-issues] [JBoss JIRA] (JBIDE-25436) Problem with enabling/disabling CDI support

Jeff MAURY (JIRA) issues at jboss.org
Wed Apr 18 12:13:13 EDT 2018


     [ https://issues.jboss.org/browse/JBIDE-25436?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeff MAURY updated JBIDE-25436:
-------------------------------
    Fix Version/s: 4.6.x
                       (was: 4.5.x)


> 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: Jeff MAURY
>             Fix For: 4.6.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-integration-tests/blob/master/tests/org.jboss.tools.cdi.bot.test/src/org/jboss/tools/cdi/bot/test/wizard/template/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:
>  !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.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/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list