Stop the created handler threads on the tests
The created handler thread will stay there for a while until all the tests are finished. This is considered as a leakage which will take the resource from the devices. In low end devices, this may possibly impact the performance. The created threads should be closed explicitly. Test: atest FrameworksNetTests Change-Id: Id5faceec341578f1c9757194c91a433fbb3f657f
Showing
- tests/unit/java/com/android/server/NsdServiceTest.java 2 additions, 2 deletionstests/unit/java/com/android/server/NsdServiceTest.java
- tests/unit/java/com/android/server/connectivity/PermissionMonitorTest.java 9 additions, 0 deletions...om/android/server/connectivity/PermissionMonitorTest.java
- tests/unit/java/com/android/server/connectivity/mdns/MdnsSocketProviderTest.java 14 additions, 4 deletions...roid/server/connectivity/mdns/MdnsSocketProviderTest.java
Loading
Please register or sign in to comment