From 0d1ebeef171bb9b25784d35256518b99a4582273 Mon Sep 17 00:00:00 2001 From: "mark.otting" Date: Mon, 18 Mar 2024 23:53:56 +0100 Subject: [PATCH] Modified integration test. Given that we can now pass multiple clusters, returning a non-existent service in a cluster result does not make sense. --- tests/integration/targets/ecs_cluster/tasks/20_ecs_service.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/targets/ecs_cluster/tasks/20_ecs_service.yml b/tests/integration/targets/ecs_cluster/tasks/20_ecs_service.yml index 9475f39e03f..16a065fab23 100644 --- a/tests/integration/targets/ecs_cluster/tasks/20_ecs_service.yml +++ b/tests/integration/targets/ecs_cluster/tasks/20_ecs_service.yml @@ -422,7 +422,7 @@ - name: assert that non-existent service is missing assert: that: - - "ecs_service_info.services_not_running[0].reason == 'MISSING'" + - "ecs_service_info.services|length == 0" - name: obtain specific ECS service facts ecs_service_info: