Wait until rebooting is done if java assert is not set.
commit585d2566e78f683f180583ba8e6f3844d44c14c6
authorjungjik.lee <jungjik.lee@samsung.com>
Wed, 3 Jun 2015 05:36:41 +0000 (2 22:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 3 Jun 2015 05:37:05 +0000 (3 05:37 +0000)
treed5f9e29ffaebdb93bb3e60d558d5277f4b8c0d64
parent836e40a42da87d49cf86e2fee9efccd3a9b443e1
Wait until rebooting is done if java assert is not set.

When we turn the device on, java assert flag would have been unset.
In this status if we execute test_runner.py, this script
will exit with -1 because the device is still rebooting.
so we should wait for adb connection until the device is fully rebooted.

BUG=None

Review URL: https://codereview.chromium.org/1161023003

Cr-Commit-Position: refs/heads/master@{#332559}
build/android/pylib/instrumentation/test_runner.py