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

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

Issue 555263004: Add hung bots to sheriff-o-matic view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Address nits. Created 6 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
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 1b8565ef14d3e24aeb82aba86ca37a627b09eade..7b319b4653bee64f8bdc35a14600773b8ff953a8 100644
--- a/Tools/GardeningServer/model/ct-failure-group.html
+++ b/Tools/GardeningServer/model/ct-failure-group.html
@@ -7,10 +7,11 @@ found in the LICENSE file.
<link rel="import" href="ct-commit-list.html">
<script>
-function CTFailureGroup(key, data) {
+function CTFailureGroup(key, data, category) {
this.key = key;
this.data = data;
this._annotation = CTFailureGroup._mergeAnnotations(data.getAnnotations());
+ this._originalCategory = category || 'default';
this._computeProperties();
}
@@ -65,7 +66,7 @@ CTFailureGroup.prototype._computeProperties = function() {
if (this._failedOnce()) {
this.category = 'failedOnce';
} else {
- this.category = 'default';
+ this.category = this._originalCategory;
}
// FIXME: crbug.com/400397 Split into: Whole step failure, Tree closer, Test failure, Flaky tests
}
« no previous file with comments | « Tools/GardeningServer/model/ct-builder-revisions-mock.html ('k') | Tools/GardeningServer/model/ct-failures.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698