test_node.py 文件源码

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

项目:dcos-e2e 作者: mesosphere 项目源码 文件源码
def dcos_cluster(
    oss_artifact: Path,
    cluster_backend: ClusterBackend,
) -> Iterator[Cluster]:
    """
    Return a `Cluster`.

    This is module scoped as we do not intend to modify the cluster in ways
    that make tests interfere with one another.
    """
    with Cluster(
        cluster_backend=cluster_backend,
        masters=1,
        agents=0,
        public_agents=0,
    ) as cluster:
        cluster.install_dcos_from_path(oss_artifact, log_output_live=True)
        yield cluster
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号