Uploaded image for project: 'ServiceMix Components'
  1. ServiceMix Components
  2. SMXCOMP-637

QuartzComponentTest intermittently fails on slow machines

    XMLWordPrintableJSON

Details

    Description

      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 )

      Attachments

        Activity

          People

            gertvanthienen Gert Vanthienen
            gertvanthienen Gert Vanthienen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: