This is an automated email from the ASF dual-hosted git repository.

cesarhernandezgt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/master by this push:
     new debcf1f8e0 TOMEE-3927 fixs for sendToMdbWithTxAndCheckLeaks test
     new 13ab9520c8 Merge pull request #871 from cesarhernandezgt/TOMEE-3927
debcf1f8e0 is described below

commit debcf1f8e0fad76d372e8212002ea58626b19f9e
Author: Cesar Hernandez <[email protected]>
AuthorDate: Mon Apr 25 16:43:05 2022 -0600

    TOMEE-3927 fixs for sendToMdbWithTxAndCheckLeaks test
---
 .../src/test/java/org/apache/openejb/activemq/JMS2AMQTest.java           | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/container/openejb-core/src/test/java/org/apache/openejb/activemq/JMS2AMQTest.java
 
b/container/openejb-core/src/test/java/org/apache/openejb/activemq/JMS2AMQTest.java
index c11e290ccd..3af6bdb77e 100644
--- 
a/container/openejb-core/src/test/java/org/apache/openejb/activemq/JMS2AMQTest.java
+++ 
b/container/openejb-core/src/test/java/org/apache/openejb/activemq/JMS2AMQTest.java
@@ -303,6 +303,7 @@ public class JMS2AMQTest {
         }
 
         assertTrue(Listener.sync());
+        sleep(150); // just to ensure we called send already
 
         final MBeanServer mBeanServer = 
ManagementFactory.getPlatformMBeanServer();
         Set<ObjectName> objs = mBeanServer.queryNames(new 
ObjectName("org.apache.activemq:type=Broker,brokerName=localhost,endpoint=dynamicProducer,*"),
 null);

Reply via email to