[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 11:40:00 EDT 2016
[ https://issues.jboss.org/browse/JBIDE-23285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13302438#comment-13302438 ]
Nick Boldt commented on JBIDE-23285:
------------------------------------
{code}
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-3.2.8) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-3.2.8.SP1.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-4.0.5) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-4.0.5.GA.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-4.2.3) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-4.2.3.GA-jdk6.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-5.0.1) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-5.0.1.GA-jdk6.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-5.1.0) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-5.1.0.GA-jdk6.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-6.1.0) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-as-distribution-6.1.0.Final.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-7.0.2) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-as-7.0.2.Final.zip
[INFO]
[INFO] --- download-maven-plugin:1.2.0:wget (install-as-7.1.1) @ org.jboss.ide.eclipse.as.ui.bot.test ---
[INFO] Got from cache: /home/nboldt/.m2/repository1/.cache/maven-download-plugin/jboss-as-7.1.1.Final.zip
{code}
Looks like I'm wrong - previously downloaded runtimes are already cached in ~/.m2 .
But we could still fix the problem of testing with multiple versions of 10.0.0 and EOL'd AS 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
> Assignee: Martin Malina
>
> 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 vs. https://access.redhat.com/support/policy/updates/jboss_notes/
> 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