commit | bd45df9c9747bfebc3bb86cfb65288b0119f3ef9 | [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 | 2a4aa016ffbf2b4fce2b380fa5be0158422be694 | |
parent | f0dfbe08709844d71b68d2df29994492a2b53111 [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