| 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..7c707cab1c45c7327a0d8702eb072627c9c1cf97 100644
|
| --- a/Tools/GardeningServer/model/ct-failure-group.html
|
| +++ b/Tools/GardeningServer/model/ct-failure-group.html
|
| @@ -45,16 +45,7 @@ CTFailureGroup.prototype.clearBug = function(bug) {
|
| };
|
|
|
| CTFailureGroup.prototype._failedOnce = function() {
|
| - var totalFailures = 0;
|
| - for (var i = 0; i < this.data.dataToExamine().length; i++) {
|
| - var resultNodes = this.data.dataToExamine()[i].resultNodesByBuilder;
|
| - Object.keys(resultNodes, function(r) {
|
| - totalFailures += resultNodes[r].failingBuildCount;
|
| - if (totalFailures > 1)
|
| - return false;
|
| - }.bind(this));
|
| - }
|
| - return totalFailures == 1;
|
| + return this.data.failedOnce && this.data.failedOnce();
|
| }
|
|
|
| CTFailureGroup.prototype._computeProperties = function() {
|
|
|