android_packages_modules_Co.../staticlibs/testutils/hostdevice/com/android
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Remi NGUYEN VAN b3fcdacfae Quit NetworkMonitor threads in integration tests
Similarly to NetworkMonitorTest, terminate NetworkMonitor threads and
ExecutorServices after each test case in integration tests.

This should fix flakes where the HTTP probe from testValidation could
finish after mock probe responses are cleared in tearDown.

The utils used in NetworkMonitorTest are factored out to ConcurrentUtils
to achieve that.

Fixes: 292481238
Test: atest --rerun-until-failure 50
Change-Id: I5cdeee8d4f06ea40e338dd2cb1fdcc2fe0907a7d
2024-03-14 13:18:44 +09:00
..
net/module/util TrackRecord: add a method to return callbacks since last poll 2023-08-09 05:26:36 -07:00
testutils Quit NetworkMonitor threads in integration tests 2024-03-14 13:18:44 +09:00