From 534a38f24c0a65c59bf42579fe77dd2302bb0cd4 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Tue, 9 Feb 2021 16:12:27 +0100 Subject: [PATCH] Remove letstest on Amazon Linux --- tests/letstest/auto_targets.yaml | 7 ------- tests/letstest/scripts/test_leauto_upgrades.sh | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/letstest/auto_targets.yaml b/tests/letstest/auto_targets.yaml index 164580e86..01d410227 100644 --- a/tests/letstest/auto_targets.yaml +++ b/tests/letstest/auto_targets.yaml @@ -57,10 +57,3 @@ targets: type: centos virt: hvm user: centos - #----------------------------------------------------------------------------- - # Amazon Linux - - ami: ami-0ff8a91507f77f867 - name: amazon - type: centos - virt: hvm - user: ec2-user diff --git a/tests/letstest/scripts/test_leauto_upgrades.sh b/tests/letstest/scripts/test_leauto_upgrades.sh index d0b941736..407a865f2 100755 --- a/tests/letstest/scripts/test_leauto_upgrades.sh +++ b/tests/letstest/scripts/test_leauto_upgrades.sh @@ -156,7 +156,7 @@ fi # Finally, we check if our local server received more requests. Over time, # we'll move more and more OSes into this case until it this is the expected # behavior on all systems. -if [ -f /etc/issue ] && grep -iq "Amazon Linux" /etc/issue; then +if [ -f /etc/redhat-release ]; then if ! diff "$LOG_FILE" "$PREVIOUS_LOG_FILE" ; then echo our local server received unexpected requests exit 1