commit | 89817631b5843a0f1506b583dbc1ea4a48184671 | [log] [tgz] |
---|---|---|
author | Tej Singh <singhtejinder@google.com> | Mon Dec 09 16:58:08 2019 -0800 |
committer | Tej Singh <singhtejinder@google.com> | Tue Dec 10 15:10:54 2019 -0800 |
tree | 59739ab925a5aafd26a6b7894d7ee1163f4d35a3 | |
parent | 22bd0ac226a9b9814d61eb2885833762a2dcfcd9 [diff] |
Puller API: Unit tests. Tests 4 key things: A successful pull, a failed pull and two timeout cases. Timeout case 1: StatsPullerCallback should stop early and return true. Timeout case 2: StatsCallback should note that the pull timed out, notify statsd stats, and return false. Test: bit statsd_test:* Bug: 145310627 Change-Id: Id87089f04e1cf54a622b3f15585341ecdcd21f7f