Details
-
Bug
-
Resolution: Done
-
Minor
-
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
- mentioned on