[jbosstools-issues] [JBoss JIRA] (JBIDE-23285) integration tests should share runtime downloads so that each test doesn't have to re-download the same runtime zips, and no longer use EOL'd runtimes

Nick Boldt (JIRA) issues at jboss.org
Tue Oct 4 10:39:00 EDT 2016


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

Nick Boldt commented on JBIDE-23285:
------------------------------------

Suggestions to fix:

* use a shared folder for requirements, perhaps under the root folder, which is NOT purged for a `mvn clean`; add a new profile `purge-runtimes` to do this if needed
* rather than defining version of WFLY 10 to use in specific test plugins, set these values in the root pom so that all tests use the same version
* remove versions of runtimes which are EOL, and remove tests which verify those old runtimes

> integration tests should share runtime downloads so that each test doesn't have to re-download the same runtime zips, and no longer use EOL'd runtimes
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-23285
>                 URL: https://issues.jboss.org/browse/JBIDE-23285
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: integration-tests
>    Affects Versions: 4.4.2.AM1
>            Reporter: Nick Boldt
>
> While running the integration tests today to investigate JBDS-4077, I discovered that:
> * org.jboss.ide.eclipse.as.ui.bot.test requires 11 runtimes, some of which are well past their EOL date [1]:
> {code}jboss-3.2.8.SP1  jboss-4.2.3.GA  jboss-5.1.0.GA     jboss-as-7.0.2.Final  wildfly-10.0.0.CR2   wildfly-9.0.1.Final
> jboss-4.0.5.GA   jboss-5.0.1.GA  jboss-6.1.0.Final  jboss-as-7.1.1.Final  wildfly-8.2.0.Final{code}
> * org.jboss.tools.deltaspike.ui.bot.test requires 1 runtime, wildfly-10.0.0.Final
> [1] https://access.redhat.com/support/policy/updates/jboss_notes/eol
> So, three problems here:
> a) different tests use different versions of the same runtime (WFLY 10.0.0.CR2 vs. Final)
> b) different tests re-download their runtimes every time you do a clean, instead of fetching runtimes from a cache. So the same 160M of WFLY 10 gets downloaded twice. 
> c) we still test on runtimes that have been EOL'd years ago, such as AS 4.0 and earlier.



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


More information about the jbosstools-issues mailing list