assertionchecker.py 文件源码

python
阅读 20 收藏 0 点赞 0 评论 0

项目:gremlinsdk-python 作者: ResilienceTesting 项目源码 文件源码
def __init__(self, host, test_id, debug=False):
        """
        param host: the elasticsearch host
        test_id: id of the test to which we are reqstricting the queires
        """
        self._es = Elasticsearch(host)
        self._id = test_id
        self.debug=debug
        self.functiondict = {
            'no_proxy_errors' : self.check_no_proxy_errors,
            'bounded_response_time' : self.check_bounded_response_time,
            'http_success_status' : self.check_http_success_status,
            'http_status' : self.check_http_status,
#            'reachability' : self.check_reachability,
            'bounded_retries' : self.check_bounded_retries,
            'circuit_breaker' : self.check_circuit_breaker,
            'at_most_requests': self.check_at_most_requests
        }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号