[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2574) Investigate why jbws2308 test case fails with Maven 2.0.10

Richard Opalka (JIRA) jira-events at lists.jboss.org
Thu Mar 12 10:17:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/JBWS-2574?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12456913#action_12456913 ] 

Richard Opalka commented on JBWS-2574:
--------------------------------------

There are two test cases in org/jboss/test/ws/jaxws/jbws2308 folder
 JBWS2308ServletTestCase and  JBWS2380TestCase. 
The servlet test version fails with maven 2.0.9 because it runs inside jboss
where java.endirsed.dir is pointed to JBOSS_HOME/lib/endorsed directory.
The nonservlet version passes with maven 2.0.9 because maven-surefire-plugin
doesn't set java.endorsed.directory properly to JBOSS_HOME/lib/endorsed but points
to JAVA_HOME/jre/lib/endorsed instead.
This have been fixed since maven 2.0.10 in maven-surefire-plugin. 
Now also JBWS2308TestCase fails with maven 2.0.10 but this is expected behavior.

diff -r maven-2.0.10/target/surefire-reports/TEST-org.jboss.test.ws.jaxws.jbws2308.JBWS2308TestCase.xml \
          maven-2.0.9/target/surefire-reports/TEST-org.jboss.test.ws.jaxws.jbws2308.JBWS2308TestCase.xml
4,26c4
<     <property value="/opt/svn/jbossas/tags/JBoss_5_0_1_GA/build/output/jboss-5.0.1.GA/lib/endorsed" name="java.endorsed.dirs"/>
>     <property value="/opt/java/jdk/sun/jdk1.5.0_17/jre/lib/endorsed" name="java.endorsed.dirs"/>


> Investigate why jbws2308 test case fails with Maven 2.0.10
> ----------------------------------------------------------
>
>                 Key: JBWS-2574
>                 URL: https://jira.jboss.org/jira/browse/JBWS-2574
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-metro
>    Affects Versions: jbossws-metro-3.1.0
>            Reporter: Richard Opalka
>            Assignee: Richard Opalka
>             Fix For:  jbossws-metro-3.1.1
>
>
> Failed tests: 
>   testInvocation(org.jboss.test.ws.jaxws.jbws2308.JBWS2308TestCase)
>   testTransformer(org.jboss.test.ws.jaxws.jbws2308.JBWS2308TestCase)
> Tests run: 16, Failures: 2, Errors: 0, Skipped: 0

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list