android_packages_modules_Co.../tests/integration/util/com/android/server
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN 2491624106 Fix leak of NetworkAgentWrapper HandlerThread
ConnectivityServiceTest creates hundreds of NetworkAgentWrapper, without
stopping their HandlerThread. This leaks a lot of threads while tests
are running.

Ensure the threads are stopped in ConnectivityServiceTest, and
integration tests that also use NetworkAgentWrapper.

Test: atest, watch adb shell ps -T [test package pid]
Bug: 310659032
Change-Id: I34f367b2efe3d05e1db5eab4c9fd93ee79c1b683
2024-01-11 17:59:29 +09:00
..
ConnectivityServiceTestUtils.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00
NetworkAgentWrapper.java Fix leak of NetworkAgentWrapper HandlerThread 2024-01-11 17:59:29 +09:00
TestNetIdManager.kt Move net unit tests to packages/Connectivity 2021-05-13 08:30:33 +00:00