Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2042)

Unified Diff: build/android/test_package.py

Issue 8622002: Jack up timeouts for buildbots running android tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/test_package.py
diff --git a/build/android/test_package.py b/build/android/test_package.py
index 1f267e63e38f74a3adbde14d17b462cdee709732..d81f0fce6819b596803486217dd4fda1b18adaca 100644
--- a/build/android/test_package.py
+++ b/build/android/test_package.py
@@ -48,6 +48,9 @@ class TestPackage(object):
timeout = 900
else:
timeout = 60
+ # On a VM (e.g. chromium buildbots), this timeout is way too small.
+ if os.environ.get('BUILDBOT_SLAVENAME'):
michaelbai 2011/11/21 23:05:53 What's if the environment was not set in dev machi
John Grabowski 2011/11/21 23:07:13 No; it returns None. That's why I'm using get() i
+ timeout = timeout * 2
self.timeout = timeout * self.tool.GetTimeoutScale()
self.dump_debug_info = dump_debug_info
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698