Index: build/android/run_tests.py |
diff --git a/build/android/run_tests.py b/build/android/run_tests.py |
index dfa66acad16661b56e10816905df0e48b9f911b7..d6a10052b30f36c9e3cc1971088c665aca5bd80f 100755 |
--- a/build/android/run_tests.py |
+++ b/build/android/run_tests.py |
@@ -320,8 +320,13 @@ def _RunATestSuite(options): |
buildbot_emulators.append(buildbot_emulator) |
attached_devices.append(buildbot_emulator.device) |
# Wait for all emulators to become available. |
- map(lambda buildbot_emulator:buildbot_emulator.ConfirmLaunch(), |
+ map(lambda buildbot_emulator:buildbot_emulator.ConfirmLaunch(True), |
buildbot_emulators) |
+ # Emulator booting completely is not enough for the test to start. |
+ # Wait for another 60 seconds so the emulator can settle down. |
+ # Otherwise, the connection to the device may lost during the test, |
+ # which will break the test. |
+ time.sleep(60) |
John Grabowski
2012/07/10 06:14:09
Sadness.
Offhand I don't remember what ConfirmLaun
Wei James(wistoch)
2012/07/10 14:26:48
ConfirmLaunch() is to make sure the emulator launc
|
elif options.test_device: |
attached_devices = [options.test_device] |
else: |