コード例 #1
0
def test_install_universe_package(package):
    """ Marathon is responsible for installing packages from the universe.
        This test confirms that several packages are installed into a healty state.
    """

    install_package_and_wait(package)
    assert package_installed(package), 'Package failed to install'

    common.deployment_wait(max_attempts=300)
    assert service_healthy(package)
コード例 #2
0
def test_install_universe_package(package):
    """ Marathon is responsible for installing packages from the universe.
        This test confirms that several packages are installed into a healty state.
    """

    install_package_and_wait(package)
    assert package_installed(package), 'Package failed to install'

    deployment_wait(max_attempts=300)
    assert service_healthy(package)
コード例 #3
0
 def assert_service_registration(package, service):
     found = get_service(package) is not None
     assert found and service_healthy(
         service
     ), f"Service {package} did not register with DCOS"  # NOQA E999
コード例 #4
0
 def assert_service_registration(package, service):
     found = get_service(package) is not None
     assert found and service_healthy(service), f"Service {package} did not register with DCOS" # NOQA E999