зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1315145
- disable SETA on tier-1 platforms temporarily. r=dustin
MozReview-Commit-ID: 2royNntQxB2 --HG-- extra : rebase_source : b77fa8845d2b7e3370e2470370f280114644b906
This commit is contained in:
Родитель
4575a61f8c
Коммит
bbfd3040db
|
@ -11,7 +11,7 @@ headers = {
|
|||
|
||||
# It's a list of project name which SETA is useful on
|
||||
SETA_PROJECTS = ['mozilla-inbound', 'autoland']
|
||||
SETA_ENDPOINT = "http://seta.herokuapp.com/data/setadetails/?branch=%s"
|
||||
SETA_ENDPOINT = "https://seta.herokuapp.com/data/setadetails/?branch=%s"
|
||||
|
||||
|
||||
class SETA(object):
|
||||
|
@ -45,6 +45,10 @@ class SETA(object):
|
|||
if len(task_list) > 0:
|
||||
low_value_tasks = task_list.values()[0]
|
||||
|
||||
# Bug 1315145, disable SETA for tier-1 platforms until backfill is implemented.
|
||||
low_value_tasks = [x for x in low_value_tasks if x.find('debug') == -1]
|
||||
low_value_tasks = [x for x in low_value_tasks if x.find('asan') == -1]
|
||||
|
||||
# In the event of request times out, requests will raise a TimeoutError.
|
||||
except exceptions.Timeout:
|
||||
logger.warning("SETA server is timeout, we will treat all test tasks as high value.")
|
||||
|
|
Загрузка…
Ссылка в новой задаче