[jbosstools-issues] [JBoss JIRA] (JBDS-4077) Cannot run integration tests against Devstudio with latest target platform

Nick Boldt (JIRA) issues at jboss.org
Mon Oct 17 19:38:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13308123#comment-13308123 ] 

Nick Boldt edited comment on JBDS-4077 at 10/17/16 7:37 PM:
------------------------------------------------------------

Three ideas:

a) we need to enable the -Pinstall-base profile so that the work folder is set to the devstudio install folder
b) we need to actually pass test.installBase into surefire via this patch (which I haven't tested yet): https://github.com/jbosstools/jbosstools-integration-tests/pull/1639
c) a+b

Please note that testing is not my core expertise so if I can't solve this you might need to call in someone else, like Mickael Istria. 

Seems the basic problem, however, is that surefire is not being invoked against the correct devstudio install folder. So, if we can figure out how to make that happen, your tests should be better.


was (Author: nickboldt):
Three ideas:

a) we need to enable the -Pinstall-base profile so that the work folder is set to the devstudio install folder
b) we need to actually pass test.installBase into surefire via this patch (which I haven't tested yet): https://github.com/jbosstools/jbosstools-integration-tests/pull/1639
c) a+b

> Cannot run integration tests against Devstudio with latest target platform
> --------------------------------------------------------------------------
>
>                 Key: JBDS-4077
>                 URL: https://issues.jboss.org/browse/JBDS-4077
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: build, target-platform
>    Affects Versions: 10.2.0.AM1
>            Reporter: Jan Richter
>            Assignee: Marián Labuda
>            Priority: Blocker
>             Fix For: 10.2.0.AM3
>
>         Attachments: .log, jbosstools-integration-tests.log.txt.zip, no_devstudio.jpg, no_devstudio.png, org.jboss.tools.deltaspike.ui.bot.test.DeltaspikeAllBotTests.txt, org.jboss.tools.deltaspike.ui.bot.test.log.txt, org.jboss.tools.deltaspike.ui.bot.test.log_0.txt, Screenshot_2016-10-05_10-00-03.png, Screenshot_2016-10-05_10-00-21.png, Screenshot_2016-10-05_10-00-28.png, Screenshot_2016-10-05_10-00-57.png, Screenshot_2016-10-05_10-01-14.png, Screenshot_2016-10-05_10-01-32.png, shell.png, TEST-org.jboss.tools.deltaspike.ui.bot.test.DeltaspikeAllBotTests.xml, tpfail.png
>
>
> Integration tests run from maven against Devstudio, which was built using the latest target platform (4.61.0.AM1-SNAPSHOT), cannot properly launch all the plugins and fail afterwards.
> A full devstudio should open when the tests are run. Instead it looks like this:
> !tpfail.png|thumbnail!



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jbosstools-issues mailing list