Bug 113250 - Flakiness dashboard: simplify logic around which tests to show.
Summary: Flakiness dashboard: simplify logic around which tests to show.
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Julie Parent
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-25 16:42 PDT by Julie Parent
Modified: 2013-03-26 13:43 PDT (History)
5 users (show)

See Also:


Attachments
Patch (3.36 KB, patch)
2013-03-25 16:44 PDT, Julie Parent
no flags Details | Formatted Diff | Diff
=Added unit tests. (6.17 KB, patch)
2013-03-26 11:41 PDT, Julie Parent
no flags Details | Formatted Diff | Diff
Patch for landing (6.18 KB, patch)
2013-03-26 13:24 PDT, Julie Parent
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Julie Parent 2013-03-25 16:42:10 PDT
Flakiness dashboard: simplify logic around which tests to show.
Comment 1 Julie Parent 2013-03-25 16:44:23 PDT
Created attachment 194947 [details]
Patch
Comment 2 Julie Parent 2013-03-25 16:47:59 PDT
Context: This change solves a circular dependence that would arrise when the flakiness dashboard creates its own history object, since we need to know if in layout test mode to set the defaults, and we need the defaults to create the history obj, but we have to have already parsed the parameters to figure out if we are in layout test mode.  This simplifies all of the logic and solves the circular dependence.
Comment 3 Ojan Vafai 2013-03-25 16:53:43 PDT
Comment on attachment 194947 [details]
Patch

It is possible to write a test for shouldHideTest?
Comment 4 Julie Parent 2013-03-26 11:41:17 PDT
Created attachment 195128 [details]
=Added unit tests.
Comment 5 Ojan Vafai 2013-03-26 12:23:58 PDT
Comment on attachment 195128 [details]
=Added unit tests.

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

> Tools/TestResultServer/static-dashboards/flakiness_dashboard_unittests.js:706
> +    // FIXME(jparent): Change to use the flakiness_db's history object

s/flakiness_db/flakiness_dashboard
Comment 6 Julie Parent 2013-03-26 13:24:09 PDT
Created attachment 195151 [details]
Patch for landing
Comment 7 WebKit Review Bot 2013-03-26 13:42:57 PDT
Comment on attachment 195151 [details]
Patch for landing

Clearing flags on attachment: 195151

Committed r146926: <http://trac.webkit.org/changeset/146926>
Comment 8 WebKit Review Bot 2013-03-26 13:43:01 PDT
All reviewed patches have been landed.  Closing bug.