Uploaded image for project: 'FUSE Mediation Router'
  1. FUSE Mediation Router
  2. MR-293

JmsProducerWithJMSHeaderTest can hang on slow solaris 10 box with jdk6

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.2.0-fuse-01-00
    • 2.0.0-psc-01-00M2
    • None
    • None

    Description

      I've seen this test hang a couple of times. It seems that the slow running test causes the message to expire before consumer.receive() is called - and since consumer.receive() is called without a timeout, it hangs waiting for a message. I modified the test to add a timeout to the receive call so that it won't hang in this case (the test will just fail) but also shortened the sleep before the consumer.receive() call so that the message is less likely to have time to expire for this test... to make the test pass more reliably even on a slow box.

      Attachments

        Issue Links

          Activity

            People

              cibsen@redhat.com Claus Ibsen
              peterjones1_jira Peter Jones (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: