Increase dexpreopt emulator respond timeout from 20s to 120s.
Change-Id: I506b1752c86eb8a99ff9f1b8df277d65194ec377
diff --git a/tools/dexpreopt/dexpreopt.py b/tools/dexpreopt/dexpreopt.py
index 376f135..a8f8128 100755
--- a/tools/dexpreopt/dexpreopt.py
+++ b/tools/dexpreopt/dexpreopt.py
@@ -954,7 +954,7 @@
# TODO: unlink the big userdata file now, since the emulator
# has it open.
- if not WaitForEmulator(ep, timeout=20): Fail('Emulator did not respond')
+ if not WaitForEmulator(ep, timeout=120): Fail('Emulator did not respond')
if not ReplaceEmulatorPrompt(ep): Fail('Could not replace prompt')
dest_root = '/data/dexpreopt-root'