From 85dbcd157668482c35638409307c83143ccc04d0 Mon Sep 17 00:00:00 2001 From: Juan Vanecek Date: Fri, 30 Aug 2024 00:54:20 -0300 Subject: [PATCH] Add another expected error for compatibility with previous version of Pharo 12 --- source/Ansible-RabbitMQ-Tests/RabbitMQClientTest.class.st | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/Ansible-RabbitMQ-Tests/RabbitMQClientTest.class.st b/source/Ansible-RabbitMQ-Tests/RabbitMQClientTest.class.st index 79c18d1b..909e6832 100644 --- a/source/Ansible-RabbitMQ-Tests/RabbitMQClientTest.class.st +++ b/source/Ansible-RabbitMQ-Tests/RabbitMQClientTest.class.st @@ -341,8 +341,8 @@ RabbitMQClientTest >> testPublishingMessageWhenClientUnexpectedlyClosesConnectio assertingLogRecordsMatchRegexes: { '\[INFO\] AMQP connection localhost\:(\d+)->localhost\:5672 closed due to Connection close while waiting for data.' . '\[INFO\] AMQP connection localhost\:(\d+)->localhost\:5672 established successfully' . - '\[ERROR\] AMQP Heartbeat failed unexpectedly \(connection closed while sending data\).' . - '\[INFO\] AMQP connection localhost\:(\d+)->localhost\:5672 closed due to connection closed while sending data' . + '\[ERROR\] AMQP Heartbeat failed unexpectedly \((connection closed while sending data|Socket destroyed, cannot retrieve error message)\).' . + '\[INFO\] AMQP connection localhost\:(\d+)->localhost\:5672 closed due to (connection closed while sending data|Socket destroyed, cannot retrieve error message)' . '\[INFO\] AMQP connection localhost\:(\d+)->localhost\:5672 established successfully' } ].