[ 
https://issues.apache.org/jira/browse/OOZIE-3246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16477267#comment-16477267
 ] 

Peter Cseh commented on OOZIE-3246:
-----------------------------------

The main fix here is this part:
{noformat}
+        finally {
+            if (broker != null) {
+                broker.stop();
+            }
{noformat}
right [~pbacsko]? 
E.g. A broker got stuck in some cases causing failures and we're making sure to 
stop it every case.
The other paces are just refactors if I see it correctly.

> Flaky test TestJMSJobEventListener#testConnectionDrop
> -----------------------------------------------------
>
>                 Key: OOZIE-3246
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3246
>             Project: Oozie
>          Issue Type: Sub-task
>            Reporter: Peter Bacsko
>            Assignee: Peter Bacsko
>            Priority: Major
>         Attachments: OOZIE-3246-001.patch
>
>
> The testcase TestJMSJobEventListener#testConnectionDrop occasionally fails 
> with the following error:
> {noformat}
> junit.framework.AssertionFailedError: 
> org.apache.activemq:type=Broker,brokerName=localhost
>       at 
> org.apache.oozie.jms.TestJMSJobEventListener.testConnectionDrop(TestJMSJobEventListener.java:365)
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to