Bug 61063 - TestFailures page shows testers that don't have any failing tests, which isn't useful
Summary: TestFailures page shows testers that don't have any failing tests, which isn'...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: http://build.webkit.org/TestFailures/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2011-05-18 08:49 PDT by Adam Roben (:aroben)
Modified: 2011-05-24 08:39 PDT (History)
2 users (show)

See Also:


Attachments
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures (12.00 KB, patch)
2011-05-24 06:56 PDT, Adam Roben (:aroben)
ddkilzer: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Roben (:aroben) 2011-05-18 08:49:55 PDT
The TestFailures page currently lists all testers, regardless of whether any tests are failing on them or not. We should only list testers that currently have failing tests.
Comment 1 Adam Roben (:aroben) 2011-05-18 08:50:18 PDT
<rdar://problem/9460533>
Comment 2 Adam Roben (:aroben) 2011-05-24 06:56:27 PDT
Created attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures
Comment 3 David Kilzer (:ddkilzer) 2011-05-24 08:02:03 PDT
Comment on attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures

View in context: https://bugs.webkit.org/attachment.cgi?id=94605&action=review

r=me

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:68
> +        getResource(self.buildbot.baseURL + 'json/builders/' + self.name, function(xhr) {

Nit: Seems like "function(xhr) {" should be indented at the same level as the method below.

> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:90
> +        },
> +        function(xhr) {
> +            self._cache[cacheKey] = -1;
> +            callback(self._cache[cacheKey]);
> +        });

Nit: Is this code indented correctly?
Comment 4 Adam Roben (:aroben) 2011-05-24 08:06:41 PDT
Comment on attachment 94605 [details]
Make TestFailures show how many tests are failing on each tester, and omit testers with no failures

View in context: https://bugs.webkit.org/attachment.cgi?id=94605&action=review

>> Tools/BuildSlaveSupport/build.webkit.org-config/public_html/TestFailures/Builder.js:90
>> +        });
> 
> Nit: Is this code indented correctly?

This is the style I've used elsewhere for calling functions that take multiple callbacks. I'm not sure it's ideal, but it does match the rest of this code.
Comment 5 Adam Roben (:aroben) 2011-05-24 08:39:28 PDT
Committed r87148: <http://trac.webkit.org/changeset/87148>