Skip to content

Commit 4597b51

Browse files
authored
Fix problem causing tasks to timeout. (flutter#76028)
This is because the command was actually collecting logs continuously from the device. Additionally idevicesyslog does not have a reboot option. Bug: flutter#76027
1 parent ce318b7 commit 4597b51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev/devicelab/lib/framework/adb.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ class IosDevice extends Device {
793793

794794
@override
795795
Future<void> reboot() {
796-
return Process.run('idevicesyslog', <String>['reboot', '-u', deviceId]);
796+
return Process.run('idevicediagnostics', <String>['restart', '-u', deviceId]);
797797
}
798798
}
799799

0 commit comments

Comments
 (0)