android_packages_modules_Co.../staticlibs/testutils
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai c034c7217e Make thread leak error message more readable
This change only outputs thread count differences instead of
listing all threads. Additionally, it ignores threads with 1
count, which effectively filter out threads created
by the test runner or other system components, such as
hwuiTask*, queued-work-looper, SurfaceSyncGroupTimer,
RenderThread, and Time-limited test.

Sample Output:
[1122/3060] android.net.connectivity.com.android.server.CSLocalAgentCreationTests#ThreadLeakMonitor: FAILED (1ms)

STACKTRACE:
java.lang.IllegalStateException: Unexpected thread changes: removed=[] added=[] updated=[TestAlarmManager=25,CSTestHandler=25]

Test: atest ConnectivityCoverageTests
      (with shouldThreadLeakFailTest set to true)
Bug: 310581973
Bug: 307693729
Change-Id: I085799ebbd69c29f833335684de208105302e012
2023-11-17 15:05:19 +08:00
..
app/connectivitychecker bump min_sdk_version from 29 (Q) to 30 (R) 2023-09-19 23:22:58 +00:00
devicetests/com/android/testutils Make thread leak error message more readable 2023-11-17 15:05:19 +08:00
host/com/android/testutils Fix arg order to set-package-network-enabled in the CTS preparer 2023-10-23 17:26:53 +09:00
hostdevice/com/android TrackRecord: add a method to return callbacks since last poll 2023-08-09 05:26:36 -07:00
Android.bp [BR01.1] Support BpfNetMapsReader 2023-10-23 20:11:02 +08:00