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

mattrpav pushed a commit to branch activemq-5.18.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-5.18.x by this push:
     new af93bb8887 [AMQ-9239] Add @Ignore to 
JDBCIOExceptionHandlerMockeryTest.java failing due to bad mock setup
af93bb8887 is described below

commit af93bb88870b84929618df2180316c0d06facba0
Author: Matt Pavlovich <[email protected]>
AuthorDate: Fri Feb 28 17:55:15 2025 -0600

    [AMQ-9239] Add @Ignore to JDBCIOExceptionHandlerMockeryTest.java failing 
due to bad mock setup
    
    (cherry picked from commit 5b205926077d610504bff55935841956f8ab3e8b)
---
 .../apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java   | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java
 
b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java
index e7224b6593..c195015a26 100644
--- 
a/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java
+++ 
b/activemq-unit-tests/src/test/java/org/apache/activemq/store/jdbc/JDBCIOExceptionHandlerMockeryTest.java
@@ -28,6 +28,7 @@ import org.jmock.Expectations;
 import org.jmock.Mockery;
 import org.jmock.States;
 import org.jmock.lib.legacy.ClassImposteriser;
+import org.junit.Ignore;
 import org.junit.Test;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -36,6 +37,7 @@ import org.slf4j.LoggerFactory;
 import static org.junit.Assert.assertTrue;
 import static org.junit.Assert.fail;
 
+@Ignore // AMQ-9239 FIXME: the Mockery is not thread-safe: use a Synchroniser 
to ensure thread safety 
 public class JDBCIOExceptionHandlerMockeryTest {
 
     private static final Logger LOG = 
LoggerFactory.getLogger(JDBCIOExceptionHandlerMockeryTest.class);


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact


Reply via email to