Skip to content

Commit 353e5e4

Browse files
committed
test: FIX: add timeout when tuned starts.
We give tuned 5 seconds to start.
1 parent f4c976f commit 353e5e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • tests/beakerlib/Tuned-takes-too-long-to-reload-start-when-ulimit

tests/beakerlib/Tuned-takes-too-long-to-reload-start-when-ulimit/runtest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ rlJournalStart
3535
rlRun "mv /etc/tuned/tuned-main.conf.new /etc/tuned/tuned-main.conf"
3636
rlRun "ulimit -H -n 1048576"
3737
rlRun "ulimit -S -n 1048576"
38-
rlRun "tuned --debug 2>&1 | tee TEST_OUT"
38+
rlRun "timeout 5 tuned --debug 2>&1 | tee TEST_OUT"
3939
rlAssertNotGrep "tuned.plugins.plugin_sysctl: executing \['sysctl'," TEST_OUT
4040
rlPhaseEnd
4141

0 commit comments

Comments
 (0)