aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2023-03-13 09:48:08 +0100
committerJake Hunsaker <jhunsake@redhat.com>2023-03-13 10:51:34 -0400
commit02d52f7ba47aad2b77eb688c569ab04c0d2cb91f (patch)
tree7aa6799c3afb52a516f967595cbfdb4e10abdbe3 /tests
parentff9516977026f1b46d706a6d3a352a78793a5ce7 (diff)
downloadsos-02d52f7ba47aad2b77eb688c569ab04c0d2cb91f.tar.gz
[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 <pmoravec@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/cleaner_tests/basic_function_tests/report_with_mask.py2
-rw-r--r--tests/vendor_tests/redhat/rhbz1950350/sos.conf2
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 ea961c8c..7c4d3905 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 45bdf3fe..1ef46b11 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