Skip to content

Commit efa9cb2

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

File tree

1 file changed

+2
-2
lines changed
  • tests/beakerlib/Tuned-takes-too-long-to-reload-start-when-ulimit

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ 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"
39-
rlAssertNotGrep "tuned.plugins.plugin_sysctl: executing \['sysctl'," TEST_OUT
38+
# According to bug, tuned should start within ~0.5 second
39+
rlRun "timeout 5 tuned --debug"
4040
rlPhaseEnd
4141

4242
rlPhaseStartCleanup

0 commit comments

Comments
 (0)