summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/LinkPropertiesTest.java
diff options
context:
space:
mode:
authorJames Mattis <jmattis@google.com>2022-04-01 13:12:59 -0700
committerJames Mattis <jmattis@google.com>2022-04-08 10:53:55 -0700
commit53d2a2c41441d283edf7378dff06687ca0c0fa30 (patch)
treea14d112beb0094b4564efd0d30087ea0c7673be6 /tests/common/java/android/net/LinkPropertiesTest.java
parent903dab6a21073966f94e3d226bc4c8a924095f5e (diff)
Clear test ethernet data when no longer enabled
When test interface are no longer tracked in ethernet, clear out associated data. Besides polluting the dumpsys and taking up memory, unexpected results could happen if other CTS tests or the like were to use a test interface which happened to have an existing configuration for it (i.e., the tests could fail). This is more problematic since IP configuration data is written to disc, therefore test data was being persisted across reboots. Bug: 210485380 Bug: 210487893 Test: atest EthernetServiceTests atest CtsNetTestCases Change-Id: If85c625ebbf8da27b226d9ae3651c4fb83a9a8da
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions