Autohold on timeout

This is interesting too.

Change-Id: I3b5db4a7df3f88215215b4a897f57fce8396c18d
This commit is contained in:
James E. Blair 2018-09-12 12:26:25 -06:00
parent 13a2df3f12
commit 18d8fa7bf1
1 changed files with 1 additions and 1 deletions

View File

@ -1198,7 +1198,7 @@ class Scheduler(threading.Thread):
def _processAutohold(self, build):
# We explicitly only want to hold nodes for jobs if they have
# failed / retry_limit / post_failure and have an autohold request.
hold_list = ["FAILURE", "RETRY_LIMIT", "POST_FAILURE"]
hold_list = ["FAILURE", "RETRY_LIMIT", "POST_FAILURE", "TIMED_OUT"]
if build.result not in hold_list:
return