From 64e2b9da3bbaaf7021edfc0afd69288c953d1e8e Mon Sep 17 00:00:00 2001 From: Rick Elrod Date: Wed, 2 Sep 2020 11:35:20 -0500 Subject: [PATCH] [yum tests] add missing "always" block (#71564) Change: - So that if yum tests get re-run, we don't error out the second time. Signed-off-by: Rick Elrod --- test/integration/targets/yum/tasks/yum.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/integration/targets/yum/tasks/yum.yml b/test/integration/targets/yum/tasks/yum.yml index 2431e9aa5c7..18e9fe566c2 100644 --- a/test/integration/targets/yum/tasks/yum.yml +++ b/test/integration/targets/yum/tasks/yum.yml @@ -869,3 +869,10 @@ - remove is changed - "'toaster-1.2.3.4' not in rpmqa.stdout" - "'test-package-that-provides-toaster' in rpmqa.stdout" + always: + - name: Remove test packages + yum: + name: + - test-package-that-provides-toaster + - toaster + state: absent