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

Unified Diff: appengine/swarming/server/task_request_test.py

Issue 2984773002: Change task timeout limit to 3 days (Closed)
Patch Set: fix error message Created 3 years, 5 months 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 | « appengine/swarming/server/task_request.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/server/task_request_test.py
diff --git a/appengine/swarming/server/task_request_test.py b/appengine/swarming/server/task_request_test.py
index 619ee5f9d548cb3c29062dc972a943902d2d911c..22a8cbab4ca7e02e132ae02e58744ed488a96f5a 100755
--- a/appengine/swarming/server/task_request_test.py
+++ b/appengine/swarming/server/task_request_test.py
@@ -570,9 +570,10 @@ class TaskRequestApiTest(TestCase):
# Execution timeout.
with self.assertRaises(datastore_errors.BadValueError):
mkreq(_gen_request(
- properties=dict(execution_timeout_secs=task_request._ONE_DAY_SECS+1)))
+ properties=dict(
+ execution_timeout_secs=task_request._THREE_DAY_SECS+1)))
mkreq(_gen_request(
- properties=dict(execution_timeout_secs=task_request._ONE_DAY_SECS)))
+ properties=dict(execution_timeout_secs=task_request._THREE_DAY_SECS)))
# Expiration.
now = utils.utcnow()
« no previous file with comments | « appengine/swarming/server/task_request.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698