From 95ae27811ba357e39062ea60a08b9bd201d167c3 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Mon, 8 May 2023 11:28:21 +0200 Subject: [PATCH] ec2_vpc_endpoint - test flake --- changelogs/fragments/endpoint.yml | 2 ++ tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/endpoint.yml diff --git a/changelogs/fragments/endpoint.yml b/changelogs/fragments/endpoint.yml new file mode 100644 index 00000000000..761e696f0cd --- /dev/null +++ b/changelogs/fragments/endpoint.yml @@ -0,0 +1,2 @@ +trivial: +- ec2_vpc_endpoint - don't assume an endpoint we might not have created has no routes attached. diff --git a/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml b/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml index 4ea9e938cff..28a32714546 100644 --- a/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml +++ b/tests/integration/targets/ec2_vpc_endpoint/tasks/main.yml @@ -147,7 +147,6 @@ - '"creation_timestamp" in first_endpoint' - '"policy_document" in first_endpoint' - '"route_table_ids" in first_endpoint' - - first_endpoint.route_table_ids | length == 0 - '"service_name" in first_endpoint' - '"state" in first_endpoint' - '"vpc_endpoint_id" in first_endpoint'