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

Unified Diff: appengine/findit/common/waterfall/failure_type.py

Issue 2320153003: [Findit] Datamodel change for triaging at CL level. (Closed)
Patch Set: Add new modules Created 4 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 | « no previous file | appengine/findit/model/base_cl.py » ('j') | appengine/findit/model/base_cl.py » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/findit/common/waterfall/failure_type.py
diff --git a/appengine/findit/common/waterfall/failure_type.py b/appengine/findit/common/waterfall/failure_type.py
index c95c0174bc26be716c5f1a745c3bd81e2e804378..58c51dc2d9a3f28032094ce2f6e0fc69109449f4 100644
--- a/appengine/findit/common/waterfall/failure_type.py
+++ b/appengine/findit/common/waterfall/failure_type.py
@@ -6,6 +6,7 @@ UNKNOWN = 0x00
INFRA = 0x01
COMPILE = 0x08
TEST = 0x10
+BOTH = 0x18
def GetDescriptionForFailureType(failure_type): # pragma: no cover.
@@ -14,5 +15,6 @@ def GetDescriptionForFailureType(failure_type): # pragma: no cover.
INFRA: 'infra',
COMPILE: 'compile',
TEST: 'test',
+ BOTH: 'both'
}
return description.get(failure_type, 'No description for %s' % failure_type)
« no previous file with comments | « no previous file | appengine/findit/model/base_cl.py » ('j') | appengine/findit/model/base_cl.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698