From 02d52f7ba47aad2b77eb688c569ab04c0d2cb91f Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Mon, 13 Mar 2023 09:48:08 +0100 Subject: [PATCH] [tests] Call cleaner with --no-update when using keywords When running avocado tests in a sequence on the same host, further tests are affected by cleaner default_mapping built from obfuscating specific keywords also. Prevent adding these keywords to the mapping. Resolves: #3165 Signed-off-by: Pavel Moravec --- tests/cleaner_tests/basic_function_tests/report_with_mask.py | 2 +- tests/vendor_tests/redhat/rhbz1950350/sos.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/cleaner_tests/basic_function_tests/report_with_mask.py b/tests/cleaner_tests/basic_function_tests/report_with_mask.py index ea961c8cf3..7c4d390594 100644 --- a/tests/cleaner_tests/basic_function_tests/report_with_mask.py +++ b/tests/cleaner_tests/basic_function_tests/report_with_mask.py @@ -60,7 +60,7 @@ class ReportWithCleanedKeywords(StageOneReportTest): :avocado: tags=stageone """ - sos_cmd = '--clean -o filesys,kernel --keywords=fstab,Linux,tmp' + sos_cmd = '--clean -o filesys,kernel --keywords=fstab,Linux,tmp --no-update' # Will the 'tmp' be properly treated in path to working dir without raising an error? # To make this test effective, we assume the test runs on a system / with Policy diff --git a/tests/vendor_tests/redhat/rhbz1950350/sos.conf b/tests/vendor_tests/redhat/rhbz1950350/sos.conf index 45bdf3fec4..1ef46b119c 100644 --- a/tests/vendor_tests/redhat/rhbz1950350/sos.conf +++ b/tests/vendor_tests/redhat/rhbz1950350/sos.conf @@ -10,7 +10,7 @@ [clean] keywords = shibboleth domains = sosexample.com -#no-update = true +no-update = true [plugin_options] #rpm.rpmva = off