commit | c714bf6d8b14afbcedefae1ecb28e09efad5b852 | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Tue Oct 01 14:58:46 2024 +0000 |
committer | Paul Hu <paulhu@google.com> | Thu Oct 03 12:51:50 2024 +0000 |
tree | 0cafa5338124fbbb5d869fed23dd4181000c58ab | |
parent | 511faf74e998773597bf896cd1215cf8fc46b53d [diff] |
Add MonitorThreadLeak to TetheringMetricsTest TetheringMetrics creates a thread to process all metrics work on a handler. This thread should remain active alongside the Tethering service but should be closed in test class. Therefore, add MonitorThreadLeak to ensure the thread is closed correctly. Test: atest TetheringMetricsTest Change-Id: Ic57beb3324945ddbb45fec9697056889044e680c