From 4597b51cbc2121ad8bcfd38cb925a497867e80cc Mon Sep 17 00:00:00 2001 From: godofredoc <54371434+godofredoc@users.noreply.github.com> Date: Sun, 14 Feb 2021 17:28:27 -0800 Subject: [PATCH] Fix problem causing tasks to timeout. (#76028) This is because the command was actually collecting logs continuously from the device. Additionally idevicesyslog does not have a reboot option. Bug: https://github.com/flutter/flutter/issues/76027 --- dev/devicelab/lib/framework/adb.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/devicelab/lib/framework/adb.dart b/dev/devicelab/lib/framework/adb.dart index a1412053fb..841f7ff03d 100644 --- a/dev/devicelab/lib/framework/adb.dart +++ b/dev/devicelab/lib/framework/adb.dart @@ -793,7 +793,7 @@ class IosDevice extends Device { @override Future reboot() { - return Process.run('idevicesyslog', ['reboot', '-u', deviceId]); + return Process.run('idevicediagnostics', ['restart', '-u', deviceId]); } }