Merge "Fix flakes in tests running after testIsPrivateDnsBroken"
This commit is contained in:
commit
de7eb04d71
1 changed files with 2 additions and 0 deletions
|
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue