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

Unified Diff: devil/devil/utils/watchdog_timer.py

Issue 3000973002: Make timeout_retry include the total timeout in the exception error (Closed)
Patch Set: Created 3 years, 3 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 | « devil/devil/utils/timeout_retry.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: devil/devil/utils/watchdog_timer.py
diff --git a/devil/devil/utils/watchdog_timer.py b/devil/devil/utils/watchdog_timer.py
index 2f4c46455be7c9751e9a570a8f41cac0e3430cf7..bff1f8cc0143efcdc98dec774a5be56e3fb242f0 100644
--- a/devil/devil/utils/watchdog_timer.py
+++ b/devil/devil/utils/watchdog_timer.py
@@ -37,6 +37,10 @@ class WatchdogTimer(object):
else:
return None
+ def GetTimeout(self):
+ """Returns the timout of the watchdog."""
+ return self._timeout
+
def IsTimedOut(self):
"""Whether the watchdog has timed out.
« no previous file with comments | « devil/devil/utils/timeout_retry.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698