summaryrefslogtreecommitdiff
path: root/tests/common/java/android/net/NetworkCapabilitiesTest.java
diff options
context:
space:
mode:
authorChiachang Wang <chiachangwang@google.com>2021-07-13 19:30:55 +0800
committerChiachang Wang <chiachangwang@google.com>2021-07-19 18:38:31 +0800
commitac059de6ada8a24bc38c8441c882636f641f6f44 (patch)
tree66084b388c198babeea11a1412edd0f612b1a850 /tests/common/java/android/net/NetworkCapabilitiesTest.java
parent5b3795532283afe17f3673914d1902e9c84d9e20 (diff)
Deflake test to ensure system default network as expected
CtsNetUtils.toggleWifi() expects to receive a CONNECTIVITY_ACTION broadcast after disconnecting from wifi if wifi is enabled. The wifi may be connected but not validated since wifi just turns back to connected from the previous test. In this case, the system default netwok will not be wifi, so there is no CONNECTIVITY_ACTION broadcast after disconnecting wifi. It should ensure the wifi is system default network first before proceeding with other verifications. Bug: 192213759 Test: atest CtsNetTestCases --iterations 20 Change-Id: I82f0634883362e35b88854aae28e61b75a3cd7cc
Diffstat (limited to 'tests/common/java/android/net/NetworkCapabilitiesTest.java')
0 files changed, 0 insertions, 0 deletions