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

Issue 3368012: Wait on a pipe for the test server to start up (Closed)

Created:
10 years, 3 months ago by davidben
Modified:
9 years, 6 months ago
CC:
chromium-reviews, pam+watch_chromium.org, cbentzel+watch_chromium.org, darin-cc_chromium.org, Paweł Hajdan Jr.
Visibility:
Public.

Description

Wait on a pipe for the test server to start up This should speed up testserver-based unit tests considerably and make them less flakey. R=agl,cpu,phajdan,wtc BUG=49680 TEST=net_unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=60199

Patch Set 1 #

Patch Set 2 : Fix compile on windows #

Total comments: 22

Patch Set 3 : Address some comments #

Total comments: 5

Patch Set 4 : Name option --startup-pipe, clean up CreatePipe/SetHandleInformation #

Patch Set 5 : Sigh. Rebase onto trunk. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -262 lines) Patch
M net/net.gyp View 3 4 2 chunks +0 lines, -2 lines 0 comments Download
D net/socket/tcp_pinger.h View 1 chunk +0 lines, -141 lines 0 comments Download
D net/socket/tcp_pinger_unittest.cc View 3 4 1 chunk +0 lines, -99 lines 0 comments Download
M net/test/test_server.h View 1 2 3 4 2 chunks +10 lines, -0 lines 0 comments Download
M net/test/test_server.cc View 1 2 3 4 2 chunks +0 lines, -17 lines 0 comments Download
M net/test/test_server_posix.cc View 1 2 3 4 2 chunks +24 lines, -2 lines 0 comments Download
M net/test/test_server_win.cc View 1 2 3 4 3 chunks +39 lines, -1 line 0 comments Download
M net/tools/testserver/testserver.py View 1 2 3 4 3 chunks +17 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
davidben
Pawel: I don't know if you ended up working on this, but I thought I ...
10 years, 3 months ago (2010-09-12 06:49:16 UTC) #1
Paweł Hajdan Jr.
+agl for POSIX code +cpu for Windows code David, this patch looks great to me. ...
10 years, 3 months ago (2010-09-13 17:26:34 UTC) #2
agl
POSIX LGTM
10 years, 3 months ago (2010-09-13 17:47:35 UTC) #3
wtc
LGTM. Excellent work! Some suggested changes below. Note especially the comment marked "DESIGN ISSUE". http://codereview.chromium.org/3368012/diff/2001/3001 ...
10 years, 3 months ago (2010-09-15 00:58:29 UTC) #4
davidben
http://codereview.chromium.org/3368012/diff/2001/3001 File net/test/test_server.cc (left): http://codereview.chromium.org/3368012/diff/2001/3001#oldcode245 net/test/test_server.cc:245: net::TCPPinger pinger(addr); On 2010/09/15 00:58:29, wtc wrote: > Can ...
10 years, 3 months ago (2010-09-15 02:41:01 UTC) #5
Paweł Hajdan Jr.
Yay LGTM! About wtc's comment (file handle vs. fd in the switch name) - I ...
10 years, 3 months ago (2010-09-15 17:35:52 UTC) #6
wtc
LGTM. Thank you for explaining what PLOG is. I learned something new. http://codereview.chromium.org/3368012/diff/12001/11006 File net/test/test_server.h ...
10 years, 3 months ago (2010-09-15 17:55:14 UTC) #7
cpu_(ooo_6.6-7.5)
lgtm, see my optional comment. http://codereview.chromium.org/3368012/diff/12001/11008 File net/test/test_server_win.cc (right): http://codereview.chromium.org/3368012/diff/12001/11008#newcode136 net/test/test_server_win.cc:136: } You can also ...
10 years, 3 months ago (2010-09-16 23:14:20 UTC) #8
wtc
http://codereview.chromium.org/3368012/diff/12001/11008 File net/test/test_server_win.cc (right): http://codereview.chromium.org/3368012/diff/12001/11008#newcode136 net/test/test_server_win.cc:136: } On 2010/09/16 23:14:20, cpu wrote: > You can ...
10 years, 3 months ago (2010-09-17 18:11:48 UTC) #9
davidben
http://codereview.chromium.org/3368012/diff/12001/11006 File net/test/test_server.h (right): http://codereview.chromium.org/3368012/diff/12001/11006#newcode118 net/test/test_server.h:118: ScopedHandle child_fd_; On 2010/09/15 17:55:14, wtc wrote: > Another ...
10 years, 3 months ago (2010-09-18 21:43:01 UTC) #10
wtc
10 years, 3 months ago (2010-09-19 00:09:25 UTC) #11
LGTM.

Powered by Google App Engine
This is Rietveld 408576698