Merge "Fix flakes in tests running after testIsPrivateDnsBroken" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
64168015f1
@@ -737,6 +737,8 @@ public class ConnectivityManagerTest {
|
|||||||
.isPrivateDnsBroken()) && networkForPrivateDns.equals(entry.getNetwork()));
|
.isPrivateDnsBroken()) && networkForPrivateDns.equals(entry.getNetwork()));
|
||||||
} finally {
|
} finally {
|
||||||
mCtsNetUtils.restorePrivateDnsSetting();
|
mCtsNetUtils.restorePrivateDnsSetting();
|
||||||
|
// Toggle wifi to make sure it is re-validated
|
||||||
|
reconnectWifi();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user