1. Setup suspend after 15 minutes (Settings > Power > Automatic Suspend)
2. Setup a checkbox launcher with the following section:
[environment]
STRESS_NG_CPU_TIME = 1200
This is to run the CPU stress tests for 20 minutes (1200 seconds)
3. Run the CPU stress tests (stress/cpu_stress_ng_test)
Shortly before 15 minutes are passed, a popup "The device will suspend soon" is displayed, but the device does *not* go into suspend, and the CPU stress test can end normally.
Tested on Checkbox RC stack:
checkbox-ng: 1.12.0rc1 ce:oem: 1.0 client: 0.44.0rc1 provider- checkbox: 0.56.0rc1 provider- resource- generic: 0.47.0rc1 provider- tpm2: 1.15.0rc1
checkbox-support: 0.49.0rc1
com.canonical.
certification-
plainbox-
plainbox-
plainbox-
1. Setup suspend after 15 minutes (Settings > Power > Automatic Suspend)
2. Setup a checkbox launcher with the following section:
[environment] NG_CPU_ TIME = 1200
STRESS_
This is to run the CPU stress tests for 20 minutes (1200 seconds)
3. Run the CPU stress tests (stress/ cpu_stress_ ng_test)
Shortly before 15 minutes are passed, a popup "The device will suspend soon" is displayed, but the device does *not* go into suspend, and the CPU stress test can end normally.
-> OK!