javaee-samples/javaee7-samples

jms/send-receive has a race condition

lprimak opened this issue · 2 comments

Sometimes, this test fails because JMS MDB is invoked before waitFor() in the test is processed, thus causing errors.

This can easily be introduced by putting in a sleep statement prior to waitFor in async send test

Fixed