[
https://issues.apache.org/jira/browse/SM-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15126442#comment-15126442
]
ASF GitHub Bot commented on SM-2850:
------------------------------------
GitHub user cschneider opened a pull request:
https://github.com/apache/servicemix/pull/45
[SM-2850] Fix for test failure
The reason for the test failures that sometimes happen might be that in
@Before a new appender and ConnectionFactory is created for each test method
but it is not closed. I added such cleanup code.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cschneider/servicemix SM-2850
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/servicemix/pull/45.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #45
----
commit dcfea610e0585b8ed9cf50d467957320eec1b43f
Author: Christian Schneider <[email protected]>
Date: 2016-02-01T15:56:58Z
[SM-2850] Fix for test failure
----
> JMSAppenderTest.testReconnectToBroker fails
> --------------------------------------------
>
> Key: SM-2850
> URL: https://issues.apache.org/jira/browse/SM-2850
> Project: ServiceMix
> Issue Type: Bug
> Affects Versions: 7.0.0.M1
> Environment: Ubuntu Linux, Java 8
> Reporter: Christian Schneider
> Fix For: 7.0.0.M1
>
>
> JMSAppenderTest.testReconnectToBroker:84->CamelTestSupport.assertMockEndpointsSatisfied:742
> mock://events Received message count. Expected: <2> but was: <0>
> For details see
> http://apaste.info/gKS
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)