You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Kristian Koehler (JIRA)" <ji...@apache.org> on 2008/07/21 08:43:00 UTC

[jira] Resolved: (SM-1366) Strange threading problems running quartz component tests

     [ https://issues.apache.org/activemq/browse/SM-1366?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Koehler resolved SM-1366.
----------------------------------

    Resolution: Fixed

applied my patch. see
http://svn.apache.org/viewvc?view=rev&revision=678358

> Strange threading problems running quartz component tests
> ---------------------------------------------------------
>
>                 Key: SM-1366
>                 URL: https://issues.apache.org/activemq/browse/SM-1366
>             Project: ServiceMix
>          Issue Type: Bug
>          Components: servicemix-quartz
>    Affects Versions: 3.2.2
>            Reporter: Kristian Koehler
>            Assignee: Kristian Koehler
>         Attachments: quartz.patch
>
>
> Hi
> running the quartz tests causes strange failures on my machine. Sometimes the tests fail...
> I think this is because of a Thread.sleep(..) statement within the test waiting for messages to arrive. 
> On my machine it seems that this timeslot is (sometimes) not 'enough'.
> I added a CountDownLatch to the receiver component so that the test don't need to call Thread.sleep().  ;-)
> Kristian

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