[ 
https://issues.apache.org/activemq/browse/SM-1570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=45614#action_45614
 ] 

Freeman Fang commented on SM-1570:
----------------------------------

Hi Peter,

You bus cfg file with name "cxf.xml" will be loaded by all bus initalization by 
default,  which means all tests will use this bus configuration. I think we 
should avoid this, would you please change the cfg file name such as 
JmsTestTimeOut.xml and specify it in the cxf bc configuration. For this test, 
you can edit
./src/test/resources/org/apache/servicemix/cxfbc/jms_transport.xml
and busCfg="JmsTestTimeOut.xml" attribute for cxf bc provider

Regards
Freeman

> CxfBcJmsTest fails frequently on slower machine
> -----------------------------------------------
>
>                 Key: SM-1570
>                 URL: https://issues.apache.org/activemq/browse/SM-1570
>             Project: ServiceMix
>          Issue Type: Improvement
>          Components: servicemix-cxf-bc
>    Affects Versions: 3.2.2
>            Reporter: Peter Jones
>            Assignee: Freeman Fang
>         Attachments: CxfBcJmsTest.patch.txt
>
>
> Running the CxfBcJmsTest with the ibm jdk on an aix box, the test fails most 
> of the time by hitting a timeout before receiving the expected message.  I've 
> attached a patch which adds a cxf.xml config file which configures the cxf 
> client receive timeout for this test to 10 seconds instead of the default 2 
> seconds.  This change seems to make the test pass consistently.
> The patch can be applied and was tested against the servicemix 3.2 branch 
> deployables/bindingcomponents/servicemix-cxf-bc directory as well as against 
> the servicemix-cxf-bc trunk.

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

Reply via email to