eventually_consistent.py 文件源码

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

项目:python-repo-tools 作者: GoogleCloudPlatform 项目源码 文件源码
def mark(f):
    """Marks an entire test as eventually consistent and retries."""
    __tracebackhide__ = True
    return retry(
        wait_exponential_multiplier=WAIT_EXPONENTIAL_MULTIPLIER,
        wait_exponential_max=WAIT_EXPONENTIAL_MAX_DEFAULT,
        stop_max_attempt_number=STOP_MAX_ATTEMPT_NUMBER_DEFAULT,
        retry_on_exception=_retry_on_exception(
            (AssertionError, exceptions.GoogleCloudError)))(f)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号