Merge "Fix flakes in tests running after testIsPrivateDnsBroken" into sc-dev

This commit is contained in:
Remi NGUYEN VAN
2021-06-29 06:51:25 +00:00
committed by Android (Google) Code Review

View File

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