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

Issue 5632002: Create a transparent proxy for test programs to use, with the (Closed)

Created:
10 years ago by dgarrett
Modified:
9 years, 7 months ago
Reviewers:
adlr, sosa
CC:
chromium-os-reviews_chromium.org, Mandeep Singh Baines, anush, sosa
Visibility:
Public.

Description

Create a transparent proxy for test programs to use, with the ability to filter or manipulate content as it's passed through. Create two example tests using this utility that cause updates to close early to test resumes, and to add delays to make sure the update still completes correctly. What other tests should be created for this? BUG=chromium-os:8207 TEST=Run by hand Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=8be02f9

Patch Set 1 #

Total comments: 38

Patch Set 2 : Fixed review notes. #

Patch Set 3 : More review fixes. #

Patch Set 4 : Review fixes (after the files are saved). #

Total comments: 10

Patch Set 5 : Address review issues, remove extend. #

Total comments: 1

Patch Set 6 : Fix review comments. #

Patch Set 7 : Fix comments and rebase merge issues. #

Total comments: 1

Patch Set 8 : Readd comment lost in rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+260 lines, -15 lines) Patch
M bin/cros_au_test_harness.py View 1 2 3 4 5 6 7 19 chunks +133 lines, -14 lines 0 comments Download
M image_to_live.sh View 1 2 3 4 5 6 3 chunks +14 lines, -1 line 0 comments Download
A lib/cros_test_proxy.py View 1 2 3 4 5 1 chunk +113 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dgarrett
Seems it was never published. Sigh.
10 years ago (2010-12-07 01:57:15 UTC) #1
adlr
http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py#newcode137 bin/cros_au_test_harness.py:137: def UpdateUsingPayload(self, update_path, stateful_change='old', proxy_port=None): 80 cols http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py#newcode274 bin/cros_au_test_harness.py:274: ...
10 years ago (2010-12-07 02:26:50 UTC) #2
sosa
http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py#newcode133 bin/cros_au_test_harness.py:133: exception of code needed for ssh. doc for proxy_port ...
10 years ago (2010-12-07 03:44:36 UTC) #3
dgarrett
http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py#newcode137 bin/cros_au_test_harness.py:137: def UpdateUsingPayload(self, update_path, stateful_change='old', proxy_port=None): On 2010/12/07 02:26:51, adlr ...
10 years ago (2010-12-07 03:48:18 UTC) #4
dgarrett
http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/1/bin/cros_au_test_harness.py#newcode133 bin/cros_au_test_harness.py:133: exception of code needed for ssh. On 2010/12/07 03:44:36, ...
10 years ago (2010-12-07 04:08:51 UTC) #5
dgarrett
10 years ago (2010-12-07 04:10:03 UTC) #6
sosa
Looking nice. Here are some more comments http://codereview.chromium.org/5632002/diff/15001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/15001/bin/cros_au_test_harness.py#newcode334 bin/cros_au_test_harness.py:334: # These ...
10 years ago (2010-12-07 17:49:22 UTC) #7
dgarrett
http://codereview.chromium.org/5632002/diff/15001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/15001/bin/cros_au_test_harness.py#newcode334 bin/cros_au_test_harness.py:334: # These values are reset for each connection On ...
10 years ago (2010-12-09 00:48:38 UTC) #8
dgarrett
10 years ago (2010-12-09 23:44:58 UTC) #9
sosa
LGTM w/ nit http://codereview.chromium.org/5632002/diff/30001/bin/cros_au_test_harness.py File bin/cros_au_test_harness.py (right): http://codereview.chromium.org/5632002/diff/30001/bin/cros_au_test_harness.py#newcode127 bin/cros_au_test_harness.py:127: Where'd this comment go? # The ...
10 years ago (2010-12-09 23:51:01 UTC) #10
dgarrett
Rebasing on top of your last change was ugly. I might have lost it in ...
10 years ago (2010-12-09 23:52:10 UTC) #11
sosa
10 years ago (2010-12-09 23:55:42 UTC) #12
Sorrryyyy

On Thu, Dec 9, 2010 at 3:52 PM, Don Garrett <dgarrett@chromium.org> wrote:
> Rebasing on top of your last change was ugly. I might have lost it in the
> process.
>
> On Thu, Dec 9, 2010 at 3:51 PM, <sosa@chromium.org> wrote:
>>
>> LGTM w/ nit
>>
>>
>>
>> http://codereview.chromium.org/5632002/diff/30001/bin/cros_au_test_harness.py
>> File bin/cros_au_test_harness.py (right):
>>
>>
>>
http://codereview.chromium.org/5632002/diff/30001/bin/cros_au_test_harness.py...
>> bin/cros_au_test_harness.py:127:
>> Where'd this comment go?
>>
>> # The devserver runs at port 8080 by default. We assume that here, and
>> # start our proxy at 8081. We then tell our update tools to have the
>> # client connect to 8081 instead of 8080.
>>
>> http://codereview.chromium.org/5632002/
>
>
>
> --
> Don
>

Powered by Google App Engine
This is Rietveld 408576698