diff options
author | Lukas Waymann <lukas.waymann@canonical.com> | 2021-04-13 14:56:53 +0800 |
---|---|---|
committer | Lukas Waymann <lukas.waymann@canonical.com> | 2021-04-13 16:42:43 +0800 |
commit | a80d11ecd2b0d21eaad6358c0b3d9b43b04c6363 (patch) | |
tree | e72817dd91777c523a3679688ead6e3142a5694f /units/stress | |
parent | 7ba7e8cfd5885a31dfda4d73342e5beaef35d8ef (diff) |
Fix stress-ng-test-for-class-* jobs failing after reboot
When Checkbox continues after a reboot the working directory is "/", but `stress-ng` must be run in a writeable directory. See <https://bugs.launchpad.net/nuremberg/+bug/1923168>.
Diffstat (limited to 'units/stress')
-rw-r--r-- | units/stress/stress-ng.pxu | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/units/stress/stress-ng.pxu b/units/stress/stress-ng.pxu index 9083fe6..7042d0f 100644 --- a/units/stress/stress-ng.pxu +++ b/units/stress/stress-ng.pxu @@ -29,4 +29,5 @@ plugin: shell estimated_duration: 1200.0 environ: STRESS_NG_CLASSES_TIMEOUT command: + cd /var/tmp stress-ng --sequential 0 --class {stress-ng-class} --timeout "${{STRESS_NG_CLASSES_TIMEOUT:-30}}" |