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' } ].