android_packages_modules_Co.../Tethering/tests
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mark f8371fef0f Fix EthernetTetheringTest flaky
The tracking interface of EthernetTracker(mTetheringInterface) is
stopped to track only when it is removed. There is race condition in
EthernetTetheringTest that the new test start ethernet tethering with
previous test interface name because EthernetTracker still tracking
previous test interface.
Destroy test interface then listen untether callback without calling
stopTethering. If EthernetTracker stop tracking test interface, it would
call onUnavailable callback to stop tethering. So the test can check
whether tethering is stopped to ensure the test interface is not tracked
anymore before test finish.

Bug: 191826409
Bug: 243222655
Test: atest TetheringIntegrationTests

Change-Id: I618983d981cd3a707dcb7723cdbb20ba5bf8bd2e
2022-08-26 14:10:54 +08:00
..
integration Fix EthernetTetheringTest flaky 2022-08-26 14:10:54 +08:00
mts Manual start tethering if it doesn't restart automatically 2022-08-16 13:17:54 +08:00
privileged BpfMapTest: add fd leak test 2022-07-26 14:23:29 +00:00
unit Merge changes from topic "ethernet-tethering-test-on-cf" 2022-08-17 17:50:40 +00:00
Android.bp Apply jarjar rules on coverage tests 2021-06-30 16:00:26 +09:00
jarjar-rules.txt ConnectivityCoverageTests refactoring 2022-04-06 19:35:28 +09:00