diff options
author | rickwu4444 <rick.wu@canonical.com> | 2022-07-12 11:08:45 +0800 |
---|---|---|
committer | rickwu4444 <rick.wu@canonical.com> | 2022-07-12 11:08:45 +0800 |
commit | c87897c64710d265560c55e0994f48e9150d0fe5 (patch) | |
tree | 7bf51b824c565faf2dde5d7969deab6ac9a8d0bd | |
parent | eb911c174c3a5880acaee9235fd9cc90e0fb85f2 (diff) |
Fix: Revert suspend method for suspend stress
Since this method have different behavior with other job, and it will cause for loop keep looping and not wait for rtcwake alert
-rw-r--r-- | units/stress/s3s4.pxu | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/units/stress/s3s4.pxu b/units/stress/s3s4.pxu index 9bf6ea7..77b9af6 100644 --- a/units/stress/s3s4.pxu +++ b/units/stress/s3s4.pxu @@ -63,8 +63,7 @@ command: for i in {1..{{ s3_iterations }}}; do echo "Iteration $i" - rtcwake -v -m on -s "${STRESS_S3_SLEEP_DELAY:-30}" & - systemctl suspend + rtcwake -v -m mem -s "${STRESS_S3_SLEEP_DELAY:-30}" done {% endif -%} _description: |