30-unit-shuffle.py 文件源码

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

项目:bundle-canonical-kubernetes 作者: juju-solutions 项目源码 文件源码
def setUpClass(cls):
        cls.deployment = amulet.Deployment(series='xenial')
        with open(cls.bundle_file) as stream:
            bundle_yaml = stream.read()
        bundle = yaml.safe_load(bundle_yaml)
        cls.deployment.load(bundle)

        # Allow some time for Juju to provision and deploy the bundle.
        cls.deployment.setup(timeout=SECONDS_TO_WAIT)

        # Wait for the system to settle down.
        wait(cls.deployment.sentry)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号