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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 8dab7eb842b3cda1f47f7f7e2564d809dbf221c9
Author: Benoit TELLIER <btell...@linagora.com>
AuthorDate: Mon Dec 4 08:55:47 2023 +0100

    JAMES-3691 Exception message change with Java 21
---
 .../apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java
 
b/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java
index 208f181ce9..7e1210ad2c 100644
--- 
a/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java
+++ 
b/backends-common/rabbitmq/src/test/java/org/apache/james/backends/rabbitmq/RabbitMQConnectionFactoryTest.java
@@ -106,7 +106,7 @@ class RabbitMQConnectionFactoryTest {
 
         assertThatThrownBy(() -> new 
RabbitMQConnectionFactory(rabbitMQConfiguration))
                 .isInstanceOf(RuntimeException.class)
-                .hasCause(new IOException("Short read of DER length"));
+                .hasCause(new IOException("Tag number over 30 is not 
supported"));
     }
 
     @Test
@@ -151,7 +151,7 @@ class RabbitMQConnectionFactoryTest {
 
         assertThatThrownBy(() -> new 
RabbitMQConnectionFactory(rabbitMQConfiguration))
                 .isInstanceOf(RuntimeException.class)
-                .hasCause(new IOException("Short read of DER length"));
+                .hasCause(new IOException("Tag number over 30 is not 
supported"));
     }
 
     @Test


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to