commit | c6be26e0ef34e50535e221a8b1c0083f54b74e46 | [log] [tgz] |
---|---|---|
author | Remi NGUYEN VAN <reminv@google.com> | Wed Jul 07 10:53:17 2021 +0900 |
committer | Remi NGUYEN VAN <reminv@google.com> | Wed Jul 07 10:55:39 2021 +0900 |
tree | 1305cbedbc33658f63a9a18b90242415722058a7 | |
parent | f15f2769b49ffaf99058a8841d2e822b59f16a39 [diff] |
Ensure wifi reconnects before waiting for metered testGetMultipathPreference assumes that wifi will auto-reconnect after changing its metered status, but this is not necessarily the case if the BSSID has been blocklisted after it failed validating too many times. Call ensureWifiConnected to force wifi to reconnect before waiting for it to become metered. Bug: 190913510 Test: atest ConnectivityManagerTest Change-Id: Iafe9837b97e4d654bb0f3962d48a94c1f31bbebc