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

Issue 5196001: Made testserver communicate to parent process with JSON (Closed)

Created:
10 years, 1 month ago by akalin
Modified:
9 years, 7 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Made testserver communicate to parent process with JSON This is so that if the testserver needs to communicate anything more than the port in the future (e.g., xmpp port for the test sync server), it can do so in a flexible manner. BUG=53934 TEST=manually Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=66879 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67018 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67386 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67398 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67481

Patch Set 1 #

Patch Set 2 : fixed whitespace #

Total comments: 25

Patch Set 3 : Addressed cbentzel's comments #

Patch Set 4 : Addressed cbentzel's comments #

Total comments: 14

Patch Set 5 : Addressed phajdan's comments #

Total comments: 2

Patch Set 6 : Addressed cbentzel's comments #

Patch Set 7 : Fixed race condition on windows #

Patch Set 8 : Fixed windows bug, added more logging #

Patch Set 9 : Synced to head #

Unified diffs Side-by-side diffs Delta from patch set Stats (+74 lines, -16 lines) Patch
M net/test/test_server.h View 1 chunk +4 lines, -0 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 5 6 7 8 2 chunks +27 lines, -0 lines 0 comments Download
M net/test/test_server_posix.cc View 1 2 3 4 5 6 7 8 1 chunk +18 lines, -6 lines 0 comments Download
M net/test/test_server_win.cc View 1 2 3 4 5 6 7 8 1 chunk +16 lines, -6 lines 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -4 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
akalin
+cbentzel for review
10 years, 1 month ago (2010-11-17 21:11:24 UTC) #1
cbentzel
Added Pawel, taking a look now.
10 years, 1 month ago (2010-11-17 21:39:20 UTC) #2
cbentzel
http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc#newcode285 net/test/test_server.cc:285: AppendToPythonPath(third_party_dir); This should be third_party_dir.Append(FILE_PATH_LITERAL("simplejson")) http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc#newcode382 net/test/test_server.cc:382: bool TestServer::ParseServerData(const ...
10 years, 1 month ago (2010-11-17 22:32:50 UTC) #3
akalin
Addressed all comments, please take another look. http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc#newcode285 net/test/test_server.cc:285: AppendToPythonPath(third_party_dir); On ...
10 years, 1 month ago (2010-11-17 23:21:35 UTC) #4
cbentzel
LGTM http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc File net/test/test_server.cc (right): http://codereview.chromium.org/5196001/diff/2001/net/test/test_server.cc#newcode285 net/test/test_server.cc:285: AppendToPythonPath(third_party_dir); On 2010/11/17 23:21:35, akalin wrote: > On ...
10 years, 1 month ago (2010-11-18 01:47:19 UTC) #5
akalin
On 2010/11/18 01:47:19, cbentzel wrote: > LGTM > > Thanks. Could you expand the "For ...
10 years, 1 month ago (2010-11-18 01:57:19 UTC) #6
Paweł Hajdan Jr.
http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc File net/test/test_server_posix.cc (right): http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc#newcode100 net/test/test_server_posix.cc:100: namespace { nit: Move the anonymous namespace to the ...
10 years, 1 month ago (2010-11-18 10:35:12 UTC) #7
cbentzel
http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc File net/test/test_server_posix.cc (right): http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc#newcode100 net/test/test_server_posix.cc:100: namespace { On 2010/11/18 10:35:12, Paweł Hajdan Jr. wrote: ...
10 years, 1 month ago (2010-11-18 12:34:30 UTC) #8
akalin
All comments addressed, please take another look http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc File net/test/test_server_posix.cc (right): http://codereview.chromium.org/5196001/diff/20001/net/test/test_server_posix.cc#newcode100 net/test/test_server_posix.cc:100: namespace { ...
10 years, 1 month ago (2010-11-18 22:38:34 UTC) #9
cbentzel
LGTM Please remove the mention of InitLogging in run_testserver from the CL description. http://codereview.chromium.org/5196001/diff/29001/net/test/test_server_posix.cc File ...
10 years, 1 month ago (2010-11-19 14:54:56 UTC) #10
akalin
All comments addressed. Pawel, anything else? http://codereview.chromium.org/5196001/diff/29001/net/test/test_server_posix.cc File net/test/test_server_posix.cc (right): http://codereview.chromium.org/5196001/diff/29001/net/test/test_server_posix.cc#newcode59 net/test/test_server_posix.cc:59: bool ReadData(base::TimeDelta* remaining_time, ...
10 years, 1 month ago (2010-11-19 16:45:17 UTC) #11
Paweł Hajdan Jr.
LGTM
10 years, 1 month ago (2010-11-19 20:59:59 UTC) #12
akalin
Fixed race condition on Windows, re-submitting. Hopefully it'll stick this time. On 2010/11/19 20:59:59, Paweł ...
10 years ago (2010-11-25 06:41:28 UTC) #13
akalin
10 years ago (2010-11-25 21:10:33 UTC) #14
Okay, looks like the XP bots are the only ones left choking.  Since I don't have
access to an XP machine, I will split up this CL into a few pieces to narrow
down the problem.  I'll TBR those CLs to cbentzel.

On 2010/11/25 06:41:28, akalin wrote:
> Fixed race condition on Windows, re-submitting.  Hopefully it'll stick this
> time.
> 
> On 2010/11/19 20:59:59, Paweł Hajdan Jr. wrote:
> > LGTM

Powered by Google App Engine
This is Rietveld 408576698