We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 750e12a commit 71cb75bCopy full SHA for 71cb75b
modules/rabbitmq/testcontainers/rabbitmq/__init__.py
@@ -51,7 +51,7 @@ def __init__(
51
self.with_env("RABBITMQ_DEFAULT_USER", self.username)
52
self.with_env("RABBITMQ_DEFAULT_PASS", self.password)
53
54
- @wait_container_is_ready(pika.exceptions.IncompatibleProtocolError)
+ @wait_container_is_ready(pika.exceptions.IncompatibleProtocolError, pika.exceptions.AMQPConnectionError)
55
def readiness_probe(self) -> bool:
56
"""Test if the RabbitMQ broker is ready."""
57
connection = pika.BlockingConnection(self.get_connection_params())
0 commit comments