From cba6ba100669a6bd8b1ccece0900f8cc342f19f8 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Tue, 11 Oct 2022 20:10:37 +0200 Subject: [PATCH] Enable ec2_metadata integration tests (#1145) (#1149) Enable ec2_metadata integration tests SUMMARY Enable ec2_metadata_facts integration tests ISSUE TYPE Feature Pull Request COMPONENT NAME ec2_metadata_facts ADDITIONAL INFORMATION As shown by #1138 we should try to ensure that the integration tests are enabled Reviewed-by: Alina Buzachis (cherry picked from commit 7b0d9645c3d2fbb6ee24007caebd91c9e4a61e7c) Co-authored-by: Mark Chappell --- changelogs/fragments/20221010-test-times.yml | 4 ++++ tests/integration/targets/ec2_metadata_facts/aliases | 5 ++--- tests/integration/targets/ec2_vol/aliases | 2 ++ tests/integration/targets/ec2_vpc_route_table/aliases | 2 ++ 4 files changed, 10 insertions(+), 3 deletions(-) create mode 100644 changelogs/fragments/20221010-test-times.yml diff --git a/changelogs/fragments/20221010-test-times.yml b/changelogs/fragments/20221010-test-times.yml new file mode 100644 index 00000000000..039fdb28182 --- /dev/null +++ b/changelogs/fragments/20221010-test-times.yml @@ -0,0 +1,4 @@ +trivial: +- ec2_metadata_facts - enable ec2_metadata_facts integration tests. +- ec2_vol - add duration information to integration test metadata. +- ec2_vpc_route_table - add duration information to integration test metadata. diff --git a/tests/integration/targets/ec2_metadata_facts/aliases b/tests/integration/targets/ec2_metadata_facts/aliases index 13acae67556..65a419c8744 100644 --- a/tests/integration/targets/ec2_metadata_facts/aliases +++ b/tests/integration/targets/ec2_metadata_facts/aliases @@ -1,6 +1,5 @@ -# We're dependent on AWS actually starting up the instances in a timely manner. -# This doesn't always happen... -unstable +# very dependent on how quickly the instance comes up, varies between 5m and 10m +time=10m non_local cloud/aws diff --git a/tests/integration/targets/ec2_vol/aliases b/tests/integration/targets/ec2_vol/aliases index fa5b0fc759c..f348f79e64c 100644 --- a/tests/integration/targets/ec2_vol/aliases +++ b/tests/integration/targets/ec2_vol/aliases @@ -1,2 +1,4 @@ +time=10m + cloud/aws ec2_vol_info diff --git a/tests/integration/targets/ec2_vpc_route_table/aliases b/tests/integration/targets/ec2_vpc_route_table/aliases index 7bfd75cbb9f..4b396a8bbf3 100644 --- a/tests/integration/targets/ec2_vpc_route_table/aliases +++ b/tests/integration/targets/ec2_vpc_route_table/aliases @@ -1,3 +1,5 @@ +time=15m + cloud/aws ec2_vpc_route_table_info