def METHOD_NAME(cls) -> None:
    """
    Wait until the index has been updated with the test user.
    """
    logging.info("Checking ES index status...")
    tries = 0
    res = None
    while not res and tries <= 5:  # Kill in 5 seconds
        res = cls.metadata.es_search_from_fqn(
            entity_type=User,
            fqn_search_string="Levy",
        )
        if not res:
            tries += 1
            time.sleep(1)