Unverified Commit 25857ce5 authored by Jenn Magder's avatar Jenn Magder Committed by GitHub

Use --device-timeout instead of deprecated --timeout in devicelab (#68230)

parent 3f56178d
......@@ -636,7 +636,7 @@ class IosDeviceDiscovery implements DeviceDiscovery {
Future<List<String>> discoverDevices() async {
final List<dynamic> results = json.decode(await eval(
path.join(flutterDirectory.path, 'bin', 'flutter'),
<String>['devices', '--machine', '--suppress-analytics', '--timeout', '10'],
<String>['devices', '--machine', '--suppress-analytics', '--device-timeout', '10'],
)) as List<dynamic>;
// [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment