Merge "Fix ConnectivityManagerTest#testFactoryReset flaky" into main

This commit is contained in:
Mark Chien
2023-07-27 09:11:20 +00:00
committed by Gerrit Code Review

View File

@@ -2591,6 +2591,7 @@ public class ConnectivityManagerTest {
// prevent the race condition between airplane mode enabled and the followed
// up wifi tethering enabled.
tetherEventCallback.expectNoTetheringActive();
tetherUtils.expectSoftApDisabled();
// start wifi tethering
tetherUtils.startWifiTethering(tetherEventCallback);