示例#1
0
def test_service_overlay_health():
    """Installs SDK based Kafka on with virtual networks set to True. Tests that the deployment completes
    and the service is healthy, then checks that all of the service tasks (brokers) are on the overlay network
    """
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME, config.DEFAULT_BROKER_COUNT)
    for task in tasks:
        sdk_networks.check_task_network(task.name)
def test_tasks_on_overlay() -> None:
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME,
                                       config.DEFAULT_TASK_COUNT)
    for task in tasks:
        # TODO: After applying port labels using SDK check network for exporter task.
        if task.name != "exporter-0-node":
            sdk_networks.check_task_network(task.name)
def test_service_overlay_health():
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME,
                                       config.DEFAULT_TASK_COUNT)
    for task in tasks:
        sdk_networks.check_task_network(task.name)
示例#4
0
def test_tasks_on_overlay() -> None:
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME,
                                       config.DEFAULT_TASK_COUNT)
    for task in tasks:
        sdk_networks.check_task_network(task.name)
示例#5
0
def test_tasks_on_overlay():
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME, config.DEFAULT_TASK_COUNT)
    for task in tasks:
        sdk_networks.check_task_network(task.name)
示例#6
0
def test_service_overlay_health() -> None:
    tasks = sdk_tasks.check_task_count(config.SERVICE_NAME, config.DEFAULT_TASK_COUNT)
    for task in tasks:
        sdk_networks.check_task_network(task.name)