[jboss-jira] [JBoss JIRA] (WFLY-8751) Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
Miroslav Novak (JIRA)
issues at jboss.org
Thu May 11 08:08:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-8751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Miroslav Novak updated WFLY-8751:
---------------------------------
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:
{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}
&#27;[0m&#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}
was:
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}
> Intermittent fail - MDB20TopicTestCase testEjb20TopicMDBs
> ----------------------------------------------------------
>
> Key: WFLY-8751
> URL: https://issues.jboss.org/browse/WFLY-8751
> 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}
> &#27;[0m&#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