From f92fea24531c9f66642c93b431cbd5b382c769e3 Mon Sep 17 00:00:00 2001 From: Mark Chappell Date: Mon, 10 Oct 2022 10:09:24 +0200 Subject: [PATCH] Enable ec2_metadata integration tests --- 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