summaryrefslogtreecommitdiff
path: root/tests/unit/java/android/net/Ikev2VpnProfileTest.java
diff options
context:
space:
mode:
authorchiachangwang <chiachangwang@google.com>2022-04-19 18:57:19 +0800
committerchiachangwang <chiachangwang@google.com>2022-04-19 19:32:35 +0800
commit0366028f64ac9e7512c5217cacec0307c09f3e5b (patch)
tree6920134307d7d4724621e3e523956df7280dc5fc /tests/unit/java/android/net/Ikev2VpnProfileTest.java
parent481b2649f72bef8309283a8cb1f4f96643e62ffb (diff)
Deflake testStartStopVpnProfileV6 and testStartStopVpnProfileV4
The tests expect to receive network validated callback on VPN network in S and below. However, there is a platform bug that VPN may misuse VPN network itself as the underlying network, and cause VPN reconnect. If this race happens before validation completed and callback sent, the test will fail to get the validated network callback. Restrict the validated capabilities check in T+ only devices which contain the necessary fixes. Also, unreigster the callback at the end of the test. Bug: 228790797 Test: atest android.net.cts.Ikev2VpnTest Change-Id: Id0ae0f983f989bfde5df2481e0d529bc5a140a7d
Diffstat (limited to 'tests/unit/java/android/net/Ikev2VpnProfileTest.java')
0 files changed, 0 insertions, 0 deletions