Kevin Yeh has proposed merging ~kevinyeh/hwcert-jenkins-jobs:disable-suspend 
into hwcert-jenkins-jobs:master.

Commit message:
Disable suspend use gsettings cmd to avoid some systems won't go to suspend by 
gschema.override.

Requested reviews:
  Kevin Yeh (kevinyeh)

For more details, see:
https://code.launchpad.net/~kevinyeh/hwcert-jenkins-jobs/+git/hwcert-jenkins-jobs/+merge/427193
-- 
Your team hwcert-jenkins is subscribed to branch hwcert-jenkins-jobs:master.
diff --git a/jobs/sru/test-cmds-pre-test-actions.sh b/jobs/sru/test-cmds-pre-test-actions.sh
index 9174931..6d00657 100644
--- a/jobs/sru/test-cmds-pre-test-actions.sh
+++ b/jobs/sru/test-cmds-pre-test-actions.sh
@@ -19,6 +19,8 @@
         # This should prevent unattended upgrades from blocking us at any point - running it early
         # to make sure it doesnt get chance to start
         _run sudo cp /usr/share/unattended-upgrades/20auto-upgrades-disabled  /etc/apt/apt.conf.d/20auto-upgrades
+        # Disable suspend use gsettings cmd to avoid some systems won't go to suspend by gschema.override.
+        _run sudo gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
         _run sudo reboot
         sleep 120
         wait_for_ssh
-- 
Mailing list: https://launchpad.net/~canonical-hw-cert
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~canonical-hw-cert
More help   : https://help.launchpad.net/ListHelp

Reply via email to