Skip to content

Commit

Permalink
test: FIX: add timeout when tuned starts.
Browse files Browse the repository at this point in the history
We give tuned 5 seconds to start.
  • Loading branch information
RHEmployee committed Aug 4, 2023
1 parent f4c976f commit 353e5e4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ rlJournalStart
rlRun "mv /etc/tuned/tuned-main.conf.new /etc/tuned/tuned-main.conf"
rlRun "ulimit -H -n 1048576"
rlRun "ulimit -S -n 1048576"
rlRun "tuned --debug 2>&1 | tee TEST_OUT"
rlRun "timeout 5 tuned --debug 2>&1 | tee TEST_OUT"
rlAssertNotGrep "tuned.plugins.plugin_sysctl: executing \['sysctl'," TEST_OUT
rlPhaseEnd

Expand Down

0 comments on commit 353e5e4

Please sign in to comment.