Don't elapse real time during IOSDevice.startApp tests (#58538)

This commit is contained in:
Jenn Magder
2020-06-03 09:33:02 -07:00
committed by GitHub
parent 01b9bf8ea6
commit 27186c784f
2 changed files with 7 additions and 0 deletions

View File

@@ -300,6 +300,7 @@ class IOSDevice extends Device {
Map<String, dynamic> platformArgs,
bool prebuiltApplication = false,
bool ipv6 = false,
@visibleForTesting Duration fallbackPollingDelay,
}) async {
String packageId;
@@ -416,6 +417,7 @@ class IOSDevice extends Device {
portForwarder: portForwarder,
protocolDiscovery: observatoryDiscovery,
flutterUsage: globals.flutterUsage,
pollingDelay: fallbackPollingDelay,
);
final Uri localUri = await fallbackDiscovery.discover(
assumedDevicePort: assumedObservatoryPort,