Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8751

Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 11.0.0.Alpha1
    • Fix Version/s: 11.0.0.Beta1
    • Component/s: JMS
    • Labels:
      None

      Description

      There are intermittent failures of MDB20TopicTestCase#testEjb20TopicMDBs. It's very very rare and I cannot not reproduce it locally. Only in Jenkins CI environment.

      Test randomly fails on:

          public void testEjb20TopicMDBs() {
               sendTextMessage("Say hello to the topic", topic);
               final Message replyA = receiveMessage(replyQueueA, TimeoutUtil.adjust(5000));
               Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueA, replyA);
               final Message replyB = receiveMessage(replyQueueB, TimeoutUtil.adjust(5000));
               Assert.assertNotNull("Reply message was null on reply queue: " + replyQueueB, replyB);  <--- here is the failure
           }
      

      Test is failling on:

      &amp#27;[0m&amp#27;[31m15:12:58,493 SEVERE [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (pool-2-thread-1) Failed: org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs: java.lang.AssertionError: Reply message was null on reply queue: ActiveMQQueue[ejb2x/replyQueueB]
      	at org.junit.Assert.fail(Assert.java:88)
      	at org.junit.Assert.assertTrue(Assert.java:41)
      	at org.junit.Assert.assertNotNull(Assert.java:712)
      	at org.jboss.as.test.integration.ejb.mdb.ejb2x.MDB20TopicTestCase.testEjb20TopicMDBs(MDB20TopicTestCase.java:121)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              mnovak Miroslav Novak
              Reporter:
              mnovak Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: