示例#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)
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
 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