Uploaded image for project: 'ActiveMQ Classic'
  1. ActiveMQ Classic
  2. AMQ-3900

Thread.sleep call in TopicProducerFlowControlTest sleeps too long on Ubuntu, causing test timeout

    XMLWordPrintableJSON

Details

    • Test
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 5.7.0
    • None
    • None
    • Ubuntu 10.04

    • Patch Available

    Description

      The onMessage() method of this test calls Thread.sleep(1) on every call. On Ubuntu 10.04 this actually sleeps for an average of 10 milliseconds, which causes the test to timeout.

      I've added a patch which has onMessage() sleep for 100 millisecond on every 100 iterations instead.

      Attachments

        1. TopicProducerFlowControlTest.patch
          7 kB
          Kevin Anthony Earls

        Activity

          People

            tabish Timothy A. Bish
            kearls Kevin Anthony Earls
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: