| metadata: |
| name: monkey_long_run |
| format: "Lava-Test-Shell Test Definition 1.0" |
| description: "Monkey long run performs stress testing for stability using monkey command which |
| generates pesudo-random streams of user events such as clicks, touches, or gestures |
| as well as some system level events. Currently, monkey long run test runs with a set |
| blacklist packages which are known to fail." |
| maintainer: |
| - yongqin.liu@linaro.org |
| os: |
| - android |
| scope: |
| - functional |
| devices: |
| - juno |
| |
| params: |
| BLACK_LIST: "/data/juno_monkey_blacklist" |
| EVENT_COUNT: "30000" |
| |
| run: |
| steps: |
| - lava-test-case run-monkey --shell monkey -s 1 --pct-touch 10 --pct-motion 20 --pct-nav 20 --pct-majornav 30 --pct-appswitch 20 --throttle 500 --pkg-blacklist-file $BLACK_LIST $EVENT_COUNT |
| parse: |
| pattern: "## Network (?P<test_case_id>stats):\\s(?P<result>elapsed)\\stime=(?P<measurement>\\d+)(?P<units>ms)" |
| fixupdict: |
| elapsed: pass |