Skip to content

Commit

Permalink
use echo to test whether host is up (flutter#16322)
Browse files Browse the repository at this point in the history
  • Loading branch information
dnfield authored Feb 1, 2020
1 parent f2ade05 commit 3c19eca
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions testing/fuchsia/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,17 @@ trap reboot EXIT

./fuchsia_ctl -d $device_name pave -i $1

# TODO(gw280): Enable tests using JIT runner
for i in {1..10}; do
./fuchsia_ctl -d $device_name test \
-f flutter_aot_runner-0.far \
-f flutter_runner_tests-0.far \
-t flutter_runner_tests && break || sleep 15;
./fuchsia_ctl -d $device_name ssh -c "echo up" && break || sleep 15;
done

# TODO(gw280): Enable tests using JIT runner

./fuchsia_ctl -d $device_name test \
-f flutter_aot_runner-0.far \
-f flutter_runner_tests-0.far \
-t flutter_runner_tests

./fuchsia_ctl -d $device_name test \
-f fml_tests-0.far \
-t fml_tests
Expand Down

0 comments on commit 3c19eca

Please sign in to comment.