diff options
| author | paulhu <paulhu@google.com> | 2022-05-18 09:39:26 +0000 |
|---|---|---|
| committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | 2022-05-23 10:57:52 +0000 |
| commit | b54f7f1d272da8bc12833666b06f20589e2e9b34 (patch) | |
| tree | 7deb833e04046f8e93c8261d9dbaa1940f176764 /tests/common/java/android/net/LinkPropertiesTest.java | |
| parent | ca55de9512a983a1e9a39537e1368fd63ee63b42 (diff) | |
Fix NsdManagerTest failures
- NsdManagerTest would fail on R device because the
android.net.TestNetworkSpecifier is not existed when creating a
test networks. Test networks are only used for those target T+
tests. Thus, only create the test networks on T+ devices.
- Those target T+ NsdManagerTest would fail on S image because
aosp/2098750 updated ConstantsShim to 33, so the
ConstantsShim.VERSION check will be true. Then these tests
will run on S image but fails with no api found. Thus, the
pre-check should include platform check(T+).
Bug: 233200200
Bug: 232813132
Test: atest CtsNetTestCasesLatestSdk:android.net.NsdManagerTest\
on R & S devices.
Change-Id: I246194e6e266a5e75d2f7053e0aa02ff06f11097
(cherry picked from commit 2b89ae5fbb51f0a143ca8a00e75c527986e55db5)
Merged-In: I246194e6e266a5e75d2f7053e0aa02ff06f11097
Diffstat (limited to 'tests/common/java/android/net/LinkPropertiesTest.java')
0 files changed, 0 insertions, 0 deletions
