Yongqin Liu | dc20453 | 2014-09-09 21:28:16 +0800 | [diff] [blame] | 1 | metadata: |
| 2 | name: monkey_long_run |
| 3 | format: "Lava-Test-Shell Test Definition 1.0" |
Amit Khare | 3ece187 | 2014-12-02 14:41:02 +0530 | [diff] [blame] | 4 | description: "Monkey long run performs stress testing for stability using monkey command which |
| 5 | generates pesudo-random streams of user events such as clicks, touches, or gestures |
| 6 | as well as some system level events. Currently, monkey long run test runs with a set |
| 7 | blacklist packages which are known to fail." |
Yongqin Liu | dc20453 | 2014-09-09 21:28:16 +0800 | [diff] [blame] | 8 | maintainer: |
| 9 | - yongqin.liu@linaro.org |
| 10 | os: |
| 11 | - android |
| 12 | scope: |
| 13 | - functional |
| 14 | devices: |
Amit Khare | 3ece187 | 2014-12-02 14:41:02 +0530 | [diff] [blame] | 15 | - juno |
Yongqin Liu | dc20453 | 2014-09-09 21:28:16 +0800 | [diff] [blame] | 16 | |
| 17 | params: |
| 18 | BLACK_LIST: "/data/juno_monkey_blacklist" |
| 19 | EVENT_COUNT: "30000" |
| 20 | |
| 21 | run: |
| 22 | steps: |
| 23 | - 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 |
| 24 | parse: |
| 25 | pattern: "## Network (?P<test_case_id>stats):\\s(?P<result>elapsed)\\stime=(?P<measurement>\\d+)(?P<units>ms)" |
| 26 | fixupdict: |
Yongqin Liu | b51c0d8 | 2014-12-05 13:16:13 +0800 | [diff] [blame] | 27 | elapsed: pass |