Changeset 87380 in webkit
- Timestamp:
- May 26, 2011 6:20:00 AM (13 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js
r87378 r87380 69 69 var data = JSON.parse(xhr.responseText); 70 70 71 var oldestUnfinishedBuild = Infinity;71 var currentBuilds = {}; 72 72 if ('currentBuilds' in data) 73 oldestUnfinishedBuild = data.currentBuilds[0];73 data.currentBuilds.forEach(function(buildNumber) { currentBuilds[buildNumber] = true }); 74 74 75 75 for (var i = data.cachedBuilds.length - 1; i >= 0; --i) { 76 if (data.cachedBuilds[i] >= oldestUnfinishedBuild)76 if (data.cachedBuilds[i] in currentBuilds) 77 77 continue; 78 78 -
trunk/Tools/ChangeLog
r87378 r87380 1 2011-05-25 Adam Roben <aroben@apple.com> 2 3 Don't assume that builds finish in the order they were started 4 5 Fixes <http://webkit.org/b/61464> TestFailures page shows failures from a not-most-recent 6 build when one slave is taking a long time to finish a build 7 8 Reviewed by Antti Koivisto. 9 10 * BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js: 11 (Builder.prototype.getMostRecentCompletedBuildNumber): Don't assume that all builds that are 12 newer than the oldest in-progress build are also themselves in progress. Just check whether 13 each build is actually in progress (as signified by its presence in the currentBuilds set). 14 1 15 2011-05-25 Adam Roben <aroben@apple.com> 2 16
Note: See TracChangeset
for help on using the changeset viewer.