1
0
Fork 0

ci: beakerlib tests fixes

Switch from the deprecated execution method.
Fix for the bz1798183-RFE-support-post-loaded-profile beakerlib test.

Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
This commit is contained in:
Jaroslav Škarvada 2021-05-17 22:41:22 +02:00
parent cc2a5e4f33
commit 49b74a8b56
No known key found for this signature in database
GPG key ID: D8E1C00E076E840B
7 changed files with 7 additions and 2 deletions

2
ci.fmf
View file

@ -1,4 +1,4 @@
discover:
how: fmf
execute:
how: beakerlib
how: tmt

View file

@ -7,3 +7,4 @@ duration: 20m
relevancy: |
distro = rhel-4, rhel-5, rhel-6: False
summary: Test for BZ#1688371 (Program tuned tried to access /dev/mem between)
framework: beakerlib

View file

@ -7,3 +7,4 @@ duration: 20m
relevancy: |
distro = rhel-4, rhel-5, rhel-6: False
summary: Test for BZ#1663412 (Tuned takes too long to reload/start when \"ulimit)
framework: beakerlib

View file

@ -10,3 +10,4 @@ require:
- tuned
duration: 5m
extra-task: /CoreOS/tuned/Regression/bz1798183-RFE-support-post-loaded-profile
framework: beakerlib

View file

@ -173,7 +173,7 @@ rlJournalStart
rlRun "rlServiceStart tuned"
rlAssertEquals "Check the output of tuned-adm active" \
"$(tuned-adm active)" \
"Current active profile: post"
"Current active profile: post"$'\n'"Current post-loaded profile: post"
rlAssertEquals "Check that dirty ratio is set correctly" \
"$(sysctl -n $DIRTY_RATIO)" 8
rlPhaseEnd

View file

@ -7,3 +7,4 @@ duration: 5m
relevancy: |
distro = rhel-4, rhel-5: False
summary: Test for BZ#1416712 (Tuned logs error message if)
framework: beakerlib

View file

@ -7,3 +7,4 @@ relevancy: |
distro = rhel-6: False
distro < rhel-7.3: False
summary: Check functionality of tuned-adm tool.
framework: beakerlib