[jboss-jira] [JBoss JIRA] Commented: (JBAS-8551) tests.classpath length impacts running tests on Windows
Daniel Bevenius (JIRA)
jira-events at lists.jboss.org
Wed Jun 29 09:16:23 EDT 2011
[ https://issues.jboss.org/browse/JBAS-8551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12611760#comment-12611760 ]
Daniel Bevenius commented on JBAS-8551:
---------------------------------------
I've looked into this and attached a patch for testsuite/build.xml.
I resorted to using Jaikiran suggestion and used the JAVA 6 feature of wildcard in the classpath. I needed to upgrade to Ant 1.8.2 for this to work. The see section "Path-Like Structures" in this [document|http://ant.apache.org/manual/using.html] where this upgrade is mentioned. To upgrade Ant I simply unpacked Ant 1.8.2 into tools/ant and also changed the version from 1.7.1 to 1.8.2 in component-matrix/pom.xml
I'm currently running through the tests on windows so I'm not 100% sure everything works yet but I think this looks promising:
{noformat}
tests-standard-unit:
[echo]
[echo] junit.timeout: 300000
[echo] jbosstest.iterationcount: 10
[echo] jbosstest.threadcount: 5
[echo] jbosstest.beancount: 5
[echo] tests.classpath.short: C:\work\jboss\as6\trunk\testsuite\output\smoketests.dir\*;C:\Users\Administrator\.m2\repository\j
unit\junit\4.6\junit-4.6.jar;C:\work\jboss\as6\trunk\testsuite\output\library.dir\*;C:\work\jboss\as6\trunk\testsuite\output\dependentmodule
.dir\*
[echo]
[junit] Running org.jboss.test.aop.test.AOPUnitTestCase
[junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 14.617 sec
[junit] Running org.jboss.test.aop.test.JMXUnitTestCase
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.948 sec
[junit] Running org.jboss.test.aop.test.MicrocontainerDefaultAnnotationUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.952 sec
[junit] Running org.jboss.test.aop.test.MicrocontainerJMXUnitTestCase
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.685 sec
[junit] Running org.jboss.test.aop.test.MicrocontainerJndiUnitTestCase
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.905 sec
[junit] Running org.jboss.test.aop.test.NotWovenScopedDependencyUnitTestCase
{noformat}
_tests.classpath.short_ above is the new classpath that is used for running the tests.
> tests.classpath length impacts running tests on Windows
> -------------------------------------------------------
>
> Key: JBAS-8551
> URL: https://issues.jboss.org/browse/JBAS-8551
> Project: Legacy JBoss Application Server 6
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Components: Test Suite
> Reporter: Shelly McGowan
> Assignee: Shelly McGowan
> Fix For: No Release
>
> Attachments: build.xml.patch
>
>
> http://hudson.qa.jboss.com/hudson/view/JBoss%20AS/job/JBoss-AS-6.0.x-Windows/498/console
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list