Merge "Fix flakes in tests running after testIsPrivateDnsBroken"
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user