def METHOD_NAME(self):
    """
    Test info with incorrect policy.
    """
    policy = {"timeout": 0.5}
    with pytest.raises(e.ParamError) as err_info:
        self.as_connection.info_random_node("bins", policy)
    assert err_info.value.code == -2
    assert err_info.value.msg == "timeout is invalid"