Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-10870

Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR19
    • 7.1.0.DR17
    • JMS
    • 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

              mnovak1@redhat.com Miroslav Novak
              mnovak1@redhat.com Miroslav Novak
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: