Skip to content

Commit

Permalink
Fix problem causing tasks to timeout. (flutter#76028)
Browse files Browse the repository at this point in the history
This is because the command was actually collecting logs continuously
from the device. Additionally idevicesyslog does not have a reboot
option.

Bug: flutter#76027
  • Loading branch information
godofredoc authored Feb 15, 2021
1 parent ce318b7 commit 4597b51
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/devicelab/lib/framework/adb.dart
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ class IosDevice extends Device {

@override
Future<void> reboot() {
return Process.run('idevicesyslog', <String>['reboot', '-u', deviceId]);
return Process.run('idevicediagnostics', <String>['restart', '-u', deviceId]);
}
}

Expand Down

0 comments on commit 4597b51

Please sign in to comment.