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

Issue 1766583002: Added update_test_expectations script to remove non-flaky test expectations. (Closed)

Created:
4 years, 9 months ago by bokan
Modified:
4 years, 5 months ago
Reviewers:
Dirk Pranke, qyearsley, ojan
CC:
blink-reviews, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Added update_test_expectations script to remove non-flaky test expectations. BUG=595414

Patch Set 1 #

Total comments: 30

Patch Set 2 : Addressed Quinten's feedback #

Patch Set 3 : Added tests and other fixes #

Patch Set 4 : Another test and help description #

Patch Set 5 : tests++ #

Total comments: 32

Patch Set 6 : Review from Quinten #

Patch Set 7 : Mock out builders and specifiers, dont remove lines if bot results arent available #

Total comments: 42

Patch Set 8 : Rebase #

Patch Set 9 : More feedback addressed from dpranke@ and qyearsley@ #

Patch Set 10 : Added tests for the main() function #

Patch Set 11 : Rebase after long break #

Messages

Total messages: 24 (7 generated)
bokan
How does this look? If it's on the right track I'll go ahead and add ...
4 years, 9 months ago (2016-03-04 03:44:10 UTC) #2
qyearsley
Hi bokan@, I'm interested in reading this CL as well -- although I'm unfamiliar with ...
4 years, 9 months ago (2016-03-07 19:09:54 UTC) #4
bokan
>> Hi bokan@, I'm interested in reading this CL as well -- although I'm unfamiliar ...
4 years, 9 months ago (2016-03-07 22:59:16 UTC) #5
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1766583002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1766583002/40001
4 years, 9 months ago (2016-03-09 05:59:06 UTC) #7
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 9 months ago (2016-03-09 07:14:12 UTC) #9
bokan
Ok, I've added tests too, I think this is ready for a real review. Right ...
4 years, 9 months ago (2016-03-09 07:57:03 UTC) #11
qyearsley
The unit test is good and helps with understanding the behavior of this script :-) ...
4 years, 9 months ago (2016-03-10 19:13:59 UTC) #12
bokan
Created an issue and CC'd you on it. https://codereview.chromium.org/1766583002/diff/80001/third_party/WebKit/LayoutTests/TestExpectations File third_party/WebKit/LayoutTests/TestExpectations (left): https://codereview.chromium.org/1766583002/diff/80001/third_party/WebKit/LayoutTests/TestExpectations#oldcode24 third_party/WebKit/LayoutTests/TestExpectations:24: On ...
4 years, 9 months ago (2016-03-16 20:24:54 UTC) #13
bokan
Made some changes to allow better testing. Also, the script is now more conservative: if ...
4 years, 9 months ago (2016-03-18 23:49:23 UTC) #15
qyearsley
It looks like logging in webkitpy is done by adding a line at the top ...
4 years, 9 months ago (2016-03-21 21:45:26 UTC) #16
Dirk Pranke
Unfortunately, this patch is awfully large to digest in one chunk. I've left some comments, ...
4 years, 8 months ago (2016-03-29 22:39:01 UTC) #18
bokan
https://codereview.chromium.org/1766583002/diff/120001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py File third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py (right): https://codereview.chromium.org/1766583002/diff/120001/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py#newcode361 third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/test.py:361: class TestPort(Port): On 2016/03/21 21:45:25, qyearsley wrote: > Question, ...
4 years, 8 months ago (2016-04-05 12:28:57 UTC) #19
bokan
Sorry for the delay, this is a 20% for me so I work on it ...
4 years, 8 months ago (2016-04-05 12:32:32 UTC) #20
qyearsley
On 2016/04/05 at 12:32:32, bokan wrote: > Sorry for the delay, this is a 20% ...
4 years, 7 months ago (2016-04-28 17:59:38 UTC) #21
bokan
On 2016/04/28 17:59:38, qyearsley wrote: > On 2016/04/05 at 12:32:32, bokan wrote: > > Sorry ...
4 years, 7 months ago (2016-04-28 19:57:42 UTC) #22
bokan
Sorry about the break, I've been 20%'ing this and I got busy but I've got ...
4 years, 5 months ago (2016-07-05 12:53:26 UTC) #23
qyearsley
4 years, 5 months ago (2016-07-06 18:47:59 UTC) #24
On 2016/07/05 at 12:53:26, bokan wrote:
> Sorry about the break, I've been 20%'ing this and I got busy but I've got some
time to push this to the finish now :)
> 
> As per Dirk's earlier recommendation, I've done my best to split this patch
up. I broke it into 3 parts:
> 
> http://crrev.com/2121823003 [1/3] Refactor test.py to be easier to fake.
> http://crrev.com/2119303003 [2/3] Create the harness and shell of
update_test_expectations
> http://crrev.com/2125633002 [3/3] Fill out implementation of
UpdateTestExpectations
> 
> I've tried to keep each CL a coherent as possible so they each stand on their
own. We can land them separately or, to keep everything together, you can review
those separately and we can land as one from this CL when they're all l-g-t-m'd.
Let me know which you'd prefer.

Reviewing and landing them split up SGTM :-)

I think that one disadvantage is that it requires you to rebase your changes,
but on the positive side I think it makes it easier to think of the changes as
individual independent changes.

Powered by Google App Engine
This is Rietveld 408576698