[ 
https://issues.apache.org/jira/browse/QPID-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673818#action_12673818
 ] 

Andrea Gazzarini commented on QPID-1663:
----------------------------------------

Hi Martin, I submitted a modified version of WsDmAdapterTest that is first 
looking for an available port before running tests...

I reverted the build.xml too in order to include again that test case.

Could you please run tests and confirm me that all is working?

Regards,
Andrea 

> WsDmAdapterTest has a number of transient failures
> --------------------------------------------------
>
>                 Key: QPID-1663
>                 URL: https://issues.apache.org/jira/browse/QPID-1663
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Tests
>    Affects Versions: M5
>            Reporter: Martin Ritchie
>
> This is the two current errors I am seeing, they have occured on three 
> different RHEL4/JDK6 installs, there is nothing holding the port open as far 
> as I can see, sometimes it is not all of the tests that fail with the port 
> problem. I've seen it fail with 1 test and all 12.
> TestName: testGeResourcePropertiesOK Duration: 0.141
>                                                   
> java.lang.NullPointerException
>        at org.apache.muse.util.xml.XmlUtils.getAllElements(XmlUtils.java:872)
>        at org.apache.muse.util.xml.XmlUtils.getAllElements(XmlUtils.java:815)
>        at org.apache.muse.util.xml.XmlUtils.getAllElements(XmlUtils.java:791)
>        at 
> org.apache.muse.ws.addressing.soap.SimpleSoapClient.send(SimpleSoapClient.java:312)
>        at 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:285)
>        at 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
>        at 
> org.apache.muse.ws.resource.remote.WsResourceClient.getResourceProperty(WsResourceClient.java:138)
>        at 
> org.apache.muse.ws.resource.sg.remote.ServiceGroupClient.getMembers(ServiceGroupClient.java:110)
>        at 
> org.apache.qpid.management.wsdm.WsDmAdapterTest.setUp(WsDmAdapterTest.java:160)
>        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
>        at junit.extensions.TestSetup$1.protect(TestSetup.java:23)
>        at junit.extensions.TestSetup.run(TestSetup.java:27)
> Testcase: testGeResourcePropertiesOK took 0.14 sec
>        Caused an ERROR
> Connection refused
> org.apache.muse.ws.addressing.soap.SoapFault: Connection refused
>        at 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:298)
>        at 
> org.apache.muse.core.AbstractResourceClient.invoke(AbstractResourceClient.java:254)
>        at 
> org.apache.muse.ws.resource.remote.WsResourceClient.getResourceProperty(WsResourceClient.java:138)
>        at 
> org.apache.muse.ws.resource.sg.remote.ServiceGroupClient.getMembers(ServiceGroupClient.java:110)
>        at 
> org.apache.qpid.management.wsdm.WsDmAdapterTest.setUp(WsDmAdapterTest.java:160)
>        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
>        at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
>        at junit.extensions.TestSetup.run(TestSetup.java:23)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:[email protected]

Reply via email to