summaryrefslogtreecommitdiff
diff options
authorUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-07-12 07:35:38 +0000
committerUbuntu <ubuntu@cert-jenkins-slave-1-201406-15260.maas>2022-07-12 07:35:38 +0000
commit3c36e1e68330d7cccd372db2a7bc697210fc10bf (patch)
tree7bf51b824c565faf2dde5d7969deab6ac9a8d0bd
parenteb911c174c3a5880acaee9235fd9cc90e0fb85f2 (diff)
parentc87897c64710d265560c55e0994f48e9150d0fe5 (diff)
Merge #426682 from ~rickwu4444/plainbox-provider-checkbox:revert-suspend-method-for-suspend-stress
Fix: Revert suspend method for suspend stress Since this method have different behavior with other job. It will cause for loop keep looping and not wait for rtcwake alert.
-rw-r--r--units/stress/s3s4.pxu3
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: