james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [10/10] james-project git commit: JAMES-2544 Disable failing RabbitMQ MailQueue concurrent tests
Date Thu, 04 Oct 2018 08:13:54 GMT
JAMES-2544 Disable failing RabbitMQ MailQueue concurrent tests


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/2bf850ae
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/2bf850ae
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/2bf850ae

Branch: refs/heads/master
Commit: 2bf850aedd68b4d39d3b5fe06ff69767c0ff414a
Parents: 50822df
Author: Benoit Tellier <btellier@linagora.com>
Authored: Tue Oct 2 16:18:15 2018 +0700
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Thu Oct 4 15:13:12 2018 +0700

----------------------------------------------------------------------
 .../james/queue/rabbitmq/RabbitMQMailQueueTest.java   | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/2bf850ae/server/queue/queue-rabbitmq/src/test/java/org/apache/james/queue/rabbitmq/RabbitMQMailQueueTest.java
----------------------------------------------------------------------
diff --git a/server/queue/queue-rabbitmq/src/test/java/org/apache/james/queue/rabbitmq/RabbitMQMailQueueTest.java
b/server/queue/queue-rabbitmq/src/test/java/org/apache/james/queue/rabbitmq/RabbitMQMailQueueTest.java
index a1f9ba4..ee008a9 100644
--- a/server/queue/queue-rabbitmq/src/test/java/org/apache/james/queue/rabbitmq/RabbitMQMailQueueTest.java
+++ b/server/queue/queue-rabbitmq/src/test/java/org/apache/james/queue/rabbitmq/RabbitMQMailQueueTest.java
@@ -229,6 +229,20 @@ public class RabbitMQMailQueueTest implements ManageableMailQueueContract,
MailQ
     public void constructorShouldRegisterGetQueueSizeGauge(MailQueueMetricExtension.MailQueueMetricTestSystem
testSystem) {
     }
 
+    @Test
+    @Override
+    @Disabled("JAMES-2544 acknowledgement need to be done on the original channel, which
is not permitted by the channelPool")
+    public void concurrentEnqueueDequeueShouldNotFail() {
+
+    }
+
+    @Test
+    @Override
+    @Disabled("JAMES-2544 acknowledgement need to be done on the original channel, which
is not permitted by the channelPool")
+    public void concurrentEnqueueDequeueWithAckNackShouldNotFail() {
+    }
+
+
     private void enqueueSomeMails(Function<Integer, String> namePattern, int emailCount)
{
         IntStream.rangeClosed(1, emailCount)
             .forEach(Throwing.intConsumer(i -> enQueue(defaultMail()


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message