From d8604b17009bd3a558f11c5b087769764290b4fc Mon Sep 17 00:00:00 2001 From: Kaushik Iska Date: Thu, 14 May 2020 21:10:49 -0700 Subject: [PATCH] [fuchsia] Remove log dumping to prevent timeouts (#18409) See: https://github.com/flutter/flutter/issues/57273 --- testing/fuchsia/run_tests.sh | 28 ++++++++++++++++------------ 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/testing/fuchsia/run_tests.sh b/testing/fuchsia/run_tests.sh index f6478886b..6a4f02e39 100755 --- a/testing/fuchsia/run_tests.sh +++ b/testing/fuchsia/run_tests.sh @@ -37,12 +37,14 @@ else fi reboot() { - echo "Dumping system logs..." + # TODO come up with better log collection strategy. + # https://github.com/flutter/flutter/issues/57273 + # echo "Dumping system logs..." - ./fuchsia_ctl -d $device_name ssh \ - -c "log_listener --dump_logs yes" \ - --timeout-seconds $ssh_timeout_seconds \ - --identity-file $pkey + # ./fuchsia_ctl -d $device_name ssh \ + # -c "log_listener --dump_logs yes" \ + # --timeout-seconds $ssh_timeout_seconds \ + # --identity-file $pkey echo "$(date) START:REBOOT ------------------------------------------" # note: this will set an exit code of 255, which we can ignore. @@ -102,15 +104,17 @@ echo "$(date) START:fml_tests ---------------------------------------" --identity-file $pkey \ --timeout-seconds $test_timeout_seconds \ --packages-directory packages +echo "$(date) DONE:fml_tests ---------------------------------------" -#echo "$(date) START:flow_tests --------------------------------------" -#./fuchsia_ctl -d $device_name test \ -# -f flow_tests-0.far \ -# -t flow_tests \ -# --identity-file $pkey \ -# --timeout-seconds $test_timeout_seconds \ -# --packages-directory packages +echo "$(date) START:flow_tests --------------------------------------" +./fuchsia_ctl -d $device_name test \ + -f flow_tests-0.far \ + -t flow_tests \ + --identity-file $pkey \ + --timeout-seconds $test_timeout_seconds \ + --packages-directory packages +echo "$(date) DONE:flow_tests ---------------------------------------" # TODO(kaushikiska): Runtime and shell tests are failing with -- GitLab