Is there a way to always make these tests terminate? I don't have any solution in mind right now, but these would not fail but just go into an endless loop if there was a bug that prevented a message from being received.
They will time out after 20 seconds and be reported as “failed” (I tested this).
They will time out after 20 seconds and be reported as “failed” (I tested this).