code: def wait_listener_node(peer_api_uri: str, collection_name: str):
      try:
          wait_for(has_listener_shard, peer_api_uri, collection_name)
      except Exception as e:
          print_collection_cluster_info(peer_api_uri, collection_name)
          raise e
  
file_path: qdrant/tests/consensus_tests/test_listener_node.py
imports: import logging
  import pathlib
  from .fixtures import create_collection, upsert_random_points, search, random_dense_vector
  from .utils import *
label_desc: Use image node_id 4 for calling a global function with example usage: wait_listener_node(peer_api_uri, collection_name) without return types