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

Unified Diff: Tools/GardeningServer/model/ct-failure-group.html

Issue 455263002: Sheriff-o-matic: Display snoozed failure groups in a separate stream (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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
Index: Tools/GardeningServer/model/ct-failure-group.html
diff --git a/Tools/GardeningServer/model/ct-failure-group.html b/Tools/GardeningServer/model/ct-failure-group.html
index 84d01dc9177f9b3b34157482aece5da39e030ff7..470950c13b8c09a4c2f1394f9d9e460281ddbb73 100644
--- a/Tools/GardeningServer/model/ct-failure-group.html
+++ b/Tools/GardeningServer/model/ct-failure-group.html
@@ -26,6 +26,12 @@ CTFailureGroup.prototype.unsnooze = function() {
CTFailureGroup.prototype._computeProperties = function() {
this.isSnoozed = Date.now() < this.annotation.snoozeTime;
+ if (this.isSnoozed) {
+ this.category = 'snoozed';
+ } else {
+ // FIXME: crbug.com/400397 Split into: Whole step failure, Tree closer, Test failure, Flaky tests
+ this.category = 'default';
+ }
};
CTFailureGroup.prototype._annotate = function(newAnnotation) {

Powered by Google App Engine
This is Rietveld 408576698