[jboss-jira] [JBoss JIRA] (WFLY-8757) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs

Miroslav Novak (JIRA) issues at jboss.org
Fri May 12 03:36:00 EDT 2017


Miroslav Novak created WFLY-8757:
------------------------------------

             Summary: Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs 
                 Key: WFLY-8757
                 URL: https://issues.jboss.org/browse/WFLY-8757
             Project: WildFly
          Issue Type: Bug
          Components: JMS
    Affects Versions: 11.0.0.Alpha1
            Reporter: Miroslav Novak
            Assignee: Miroslav Novak


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:
{code}
    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
     }
{code}

Test is failling on:
{code}
&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)
{code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list