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

Issue 9599012: Stop sending the testfilter= flag to the try server and process it locally. (Closed)

Created:
8 years, 9 months ago by M-A Ruel
Modified:
8 years, 9 months ago
Reviewers:
Peter Mayo
CC:
chromium-reviews, Dirk Pranke
Visibility:
Public.

Description

Stop sending the testfilter= flag to the try server and process it locally. The previous behavior would cause inproper parsing; - the bot=bot1 flag would add 'bot1': ['defaulttests'] to the dictionary. - the testfilter=test1 flag would append 'test1' to the list, causing the value to look like 'bot1': ['defaulttests', 'test1']. I think on the long run the best is to keep --testfilter as a user interface but not on the try server. This effectively stops sending testfilter=foo to the server. Add unit test to verify it's working properly. Refactor a bit to make unit testing simpler. R=petermayo@chromium.org BUG= TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=125405

Patch Set 1 #

Total comments: 2

Patch Set 2 : Fix test to not hardcode my email address! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+76 lines, -23 lines) Patch
M tests/trychange_unittest.py View 1 4 chunks +42 lines, -2 lines 0 comments Download
M trychange.py View 3 chunks +34 lines, -21 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
M-A Ruel
8 years, 9 months ago (2012-03-05 15:23:57 UTC) #1
M-A Ruel
Deflecting to Peter.
8 years, 9 months ago (2012-03-07 01:21:36 UTC) #2
Peter Mayo
lgtm
8 years, 9 months ago (2012-03-07 15:20:28 UTC) #3
Peter Mayo
https://chromiumcodereview.appspot.com/9599012/diff/1/tests/trychange_unittest.py File tests/trychange_unittest.py (right): https://chromiumcodereview.appspot.com/9599012/diff/1/tests/trychange_unittest.py#newcode80 tests/trychange_unittest.py:80: ('bot', 'bot2:test1,test2'), Eventually flagging this as ambiguous might be ...
8 years, 9 months ago (2012-03-07 15:53:45 UTC) #4
M-A Ruel
https://chromiumcodereview.appspot.com/9599012/diff/1/tests/trychange_unittest.py File tests/trychange_unittest.py (right): https://chromiumcodereview.appspot.com/9599012/diff/1/tests/trychange_unittest.py#newcode80 tests/trychange_unittest.py:80: ('bot', 'bot2:test1,test2'), On 2012/03/07 15:53:46, Peter Mayo wrote: > ...
8 years, 9 months ago (2012-03-07 17:52:56 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/9599012/1
8 years, 9 months ago (2012-03-07 17:53:10 UTC) #6
commit-bot: I haz the power
Presubmit check for 9599012-1 failed and returned exit status 1. warning: code.google.com certificate with fingerprint ...
8 years, 9 months ago (2012-03-07 17:59:40 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/maruel@chromium.org/9599012/4003
8 years, 9 months ago (2012-03-07 18:04:49 UTC) #8
commit-bot: I haz the power
8 years, 9 months ago (2012-03-07 18:11:12 UTC) #9
Change committed as 125405

Powered by Google App Engine
This is Rietveld 408576698