Merge "Fix flakes in tests running after testIsPrivateDnsBroken"

This commit is contained in:
Treehugger Robot 2021-06-28 10:26:24 +00:00 • committed by Gerrit Code Review
commit de7eb04d71

View file

@ -729,6 +729,8 @@ public class ConnectivityManagerTest {
.isPrivateDnsBroken()) && networkForPrivateDns.equals(entry.getNetwork()));
} finally {
mCtsNetUtils.restorePrivateDnsSetting();
// Toggle wifi to make sure it is re-validated
reconnectWifi();
}
}