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
         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.

Reply via email to