summaryrefslogtreecommitdiff
diff options
authorMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-08-01 12:41:38 +0200
committerMaciej Kisielewski <maciej.kisielewski@canonical.com>2017-08-30 15:08:15 +0200
commit3df9f2c940115645116ec9b6bae026b56e146db8 (patch)
tree9b048a0490e837f05efd77df75e8917858e49a60
parent507703710fa1332109e5d90d49d30b45d545c5c6 (diff)
make pm_test respawn checkbox after it's done rebooting
Signed-off-by: Maciej Kisielewski <maciej.kisielewski@canonical.com>
-rw-r--r--jobs/stress.txt.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/jobs/stress.txt.in b/jobs/stress.txt.in
index 75b497cf..daa67dad 100644
--- a/jobs/stress.txt.in
+++ b/jobs/stress.txt.in
@@ -79,7 +79,7 @@ depends:
suspend/suspend_advanced
user: root
command:
- pm_test reboot --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3
+ pm_test reboot --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox --fwts --log-level=debug --log-dir=$PLAINBOX_SESSION_SHARE --suspends-before-reboot=30 -r 3 --silent
_description:
This is an automated stress test that will run a sequence of '30 suspend/resume cycles and one reboot' 3 times.
@@ -227,7 +227,7 @@ estimated_duration: 4500.0
requires:
package.name == 'upstart'
package.name == 'fwts'
-command: pm_test -r 100 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
+command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 100 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
user: root
environ: PLAINBOX_SESSION_SHARE
@@ -249,7 +249,7 @@ id: stress/reboot_30
requires:
package.name == 'upstart'
package.name == 'fwts'
-command: pm_test -r 30 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
+command: pm_test --checkbox-respawn-cmd $PLAINBOX_SESSION_SHARE/__respawn_checkbox -r 30 --silent --log-level=notset reboot --log-dir=$PLAINBOX_SESSION_SHARE
flags: noreturn
estimated_duration: 2700
user: root