commit | 8792a72e8ebbed396e737fb0ed2ef39671d9c1ab | [log] [tgz] |
---|---|---|
author | Paul Hu <paulhu@google.com> | Tue Jan 16 06:50:33 2024 +0000 |
committer | Paul Hu <paulhu@google.com> | Tue Jan 16 06:56:34 2024 +0000 |
tree | 23431692beb2a12915a8e795cc18451b9c855746 | |
parent | ad93a191e789449c6891b6728f1ef36a6b366d3b [diff] |
Use MonitorThreadLeak in CSTest related tests Fix current leaks in CSTest related tests, which leaked the ConnectivityService and AlarmManager handler threads, and enable the checks. Using @DevSdkIgnoreRunner.MonitorThreadLeak ensures that tests properly cleanup threads (in particular handler threads), as many leaked threads could affect other tests. Fix: 308520131 Test: atest ConnectivityCoverageTests Change-Id: Ia6fb2c97f7a1740bafc0ab549440fdbeb1d5fad6