[
https://issues.apache.org/jira/browse/FALCON-1064?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368513#comment-14368513
]
Sowmya Ramesh commented on FALCON-1064:
---------------------------------------
Method is made synchronized because same method is used in all the tests and if
all tests run in parallel it leads to deadlock. Latch was already present and
was an instance variable, I made a local variable instead. Latch is used to
achieve synchronization between producer and consumer - producer awaits and in
the consumer method countDown() is called, that logic already exists so its not
seen in the patch.
> Build hangs at the following test: JMSMessageProducerTest
> ---------------------------------------------------------
>
> Key: FALCON-1064
> URL: https://issues.apache.org/jira/browse/FALCON-1064
> Project: Falcon
> Issue Type: Bug
> Reporter: Mahak
> Assignee: Sowmya Ramesh
> Attachments: FALCON-1064.v0.patch
>
>
> I'm trying to build falcon0.7-snapshot, the build it successful if I skip the
> tests, however if I don't then it hangs at JMSMessageProducerTest. My idea is
> that it's getting into some kind of deadlock
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)