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

Issue 3014036: Allow testserver to run without chromiumsync. (Closed)

Created:
10 years, 5 months ago by Patrick Horn
Modified:
9 years, 7 months ago
Reviewers:
ncarter (slow)
CC:
chromium-reviews, Paweł Hajdan Jr., darin-cc_chromium.org, cbentzel+watch_chromium.org, pam+watch_chromium.org
Visibility:
Public.

Description

Allow testserver to run without chromiumsync. BUG=43624 TEST=Able to run 'PYTHONPATH=third_party/tlslite:third_party/pyftpdlib python net/tools/testserver/testserver.py --data-dir=chrome/test/data/' Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=53812

Patch Set 1 #

Total comments: 2

Patch Set 2 : Moved _sync_handler into the HTTPServer. #

Patch Set 3 : 80 char #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M net/tools/testserver/testserver.py View 1 2 4 chunks +7 lines, -5 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Patrick Horn
10 years, 5 months ago (2010-07-26 22:56:56 UTC) #1
ncarter (slow)
The approach looks fine (wish I'd thought of it). You can mention bug 43624. http://codereview.chromium.org/3014036/diff/1/2 ...
10 years, 5 months ago (2010-07-26 23:18:20 UTC) #2
ncarter (slow)
BTW, how did this come up in practice? Are tests launching the test server without ...
10 years, 5 months ago (2010-07-26 23:21:03 UTC) #3
Patrick Horn
I was actually working on an expermintal changelist for pyauto to be able to launch ...
10 years, 5 months ago (2010-07-26 23:25:56 UTC) #4
ncarter (slow)
LGTM. Didn't know BaseHTTPServer was necessarily single-threaded.
10 years, 5 months ago (2010-07-26 23:35:00 UTC) #5
Patrick Horn
I think usually you add in ThreadingMixIn to get a multithreaded server, as in here: ...
10 years, 5 months ago (2010-07-26 23:51:19 UTC) #6
Patrick Horn
I just moved the _sync_handler into the server rather than keeping it a class varaible. ...
10 years, 5 months ago (2010-07-27 00:17:13 UTC) #7
ncarter (slow)
On Mon, Jul 26, 2010 at 5:17 PM, <pathorn@chromium.org> wrote: > I just moved the ...
10 years, 5 months ago (2010-07-27 00:22:53 UTC) #8
ncarter (slow)
Latest patch set LGTM
10 years, 5 months ago (2010-07-27 00:24:52 UTC) #9
Timur Iskhodzhanov
Probably, you've meant tim@, not timurrrr@ ;)
10 years, 5 months ago (2010-07-27 07:44:00 UTC) #10
Patrick Horn
10 years, 5 months ago (2010-07-27 10:58:35 UTC) #11
On 2010/07/27 07:44:00, Timur Iskhodzhanov wrote:
> Probably, you've meant tim@, not timurrrr@ ;)

Sorry, I mistook you as the author because your revert commit was in the "svn
blame". ncarter (the actual author of cl 1622012) has reviewed it, so I removed
your name from reviewers.

Powered by Google App Engine
This is Rietveld 408576698