You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Kevin Earls (JIRA)" <ji...@apache.org> on 2013/01/24 21:03:13 UTC

[jira] [Updated] (AMQ-4273) JobSchedulerTest has 2 test cases that fail intermittently

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

Kevin Earls updated AMQ-4273:
-----------------------------

    Attachment: AMQ4273.patch

testRemoveLong would fail occasionally because it was possible the 10 jobs that it created were scheduled over 2 different seconds, and the first call to schedule.remove() would only get the jobs from the first second.  I added an additional schedule.remove() to cover this

testAddCronAndByteSequence failed if it was executed at second 59 of any minute.  The test would then submit a crontab string with 60 in the seconds field.  I corrected the date calculation.
                
> JobSchedulerTest has 2 test cases that fail intermittently
> ----------------------------------------------------------
>
>                 Key: AMQ-4273
>                 URL: https://issues.apache.org/jira/browse/AMQ-4273
>             Project: ActiveMQ
>          Issue Type: Test
>          Components: stomp, Test Cases
>            Reporter: Kevin Earls
>            Priority: Minor
>         Attachments: AMQ4273.patch
>
>
> The testRemoveLong and testAddCronAndByteSequence tests fail intermittently.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira