In our AMQP tests, we are sending the message to the RabbitMQ using the `AMQPManager.send(...)` method and then waiting for a message to 'pop' using the blocking `AMQPManager.pop(…)` method.
In case something is wrong with the message sending, RabbitMQ server, or wrong `toDeviceID`, the blocking pop method will wait indefinitely and cause a deadlock in a test without any result (FAIL or SUCCESS).
This diff adds an observer with a maximum execution time for AMQP tests to prevent deadlocks in a CI environment and fail the test if it takes more than `MESSSAGE_MAX_WAIT_TIME` to consume a message from a RabbitMQ.
Related Linear task: [[ https://linear.app/comm/issue/ENG-1524/add-timeout-for-amqp-tests | ENG-1524 ]]