You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Gert Vanthienen (JIRA)" <ji...@apache.org> on 2009/09/25 15:31:51 UTC

[jira] Resolved: (SMXCOMP-637) QuartzComponentTest intermittently fails on slow machines

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

Gert Vanthienen resolved SMXCOMP-637.
-------------------------------------

    Resolution: Fixed

Added a delay before flushing the message list to avoid messages arriving late.
Fixed in http://svn.apache.org/viewvc?view=rev&revision=818848

> QuartzComponentTest intermittently fails on slow machines
> ---------------------------------------------------------
>
>                 Key: SMXCOMP-637
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-637
>             Project: ServiceMix Components
>          Issue Type: Test
>          Components: servicemix-quartz
>    Affects Versions: servicemix-quartz-2009.01
>            Reporter: Gert Vanthienen
>            Assignee: Gert Vanthienen
>             Fix For: servicemix-quartz-2009.02
>
>
> The test stops the component, flushes the messages, sleeps for a second and then tests that no messages have arrived while the test was sleeping. The problem seems to be that not all the messages that were triggered before the component was stopped have sufficient time to be delivered before the message list is flushed. So, these messages arrive after the list is flushed and the test fails.
> This happens mostly on slow or heavily-loaded machines (like CI build servers ;) )

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