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

Issue 10795012: Modify DeterministicSocketData to verify that the sequence number of reads and writes start at zero… (Closed)

Created:
8 years, 5 months ago by Ryan Hamilton
Modified:
8 years, 5 months ago
Reviewers:
Ryan Sleevi
CC:
chromium-reviews, cbentzel+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Modify DeterministicSocketData to verify that the sequence number of reads and writes start at zero and are continuous. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=147749

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : Fix sleevi's comments #

Total comments: 2

Patch Set 4 : Move VerifyCorrectSequenceNumbers to DeterministicSocketData #

Patch Set 5 : Whitespace #

Patch Set 6 : Rebase #

Patch Set 7 : Remove commented out code #

Patch Set 8 : Fix rebase problem. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+84 lines, -34 lines) Patch
M net/http/http_proxy_client_socket_pool_spdy2_unittest.cc View 1 chunk +2 lines, -2 lines 0 comments Download
M net/http/http_proxy_client_socket_pool_spdy3_unittest.cc View 1 chunk +3 lines, -2 lines 0 comments Download
M net/http/http_stream_parser_unittest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M net/socket/deterministic_socket_data_unittest.cc View 2 chunks +10 lines, -2 lines 0 comments Download
M net/socket/socket_test_util.h View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M net/socket/socket_test_util.cc View 1 2 3 4 5 2 chunks +27 lines, -0 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy2_unittest.cc View 1 2 3 4 5 6 7 6 chunks +16 lines, -10 lines 0 comments Download
M net/spdy/spdy_network_transaction_spdy3_unittest.cc View 1 2 3 4 5 6 7 6 chunks +16 lines, -10 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy2_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download
M net/spdy/spdy_proxy_client_socket_spdy3_unittest.cc View 3 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Ryan Hamilton
sleevi: can you take a look? We talked about making this change over lunch last ...
8 years, 5 months ago (2012-07-18 17:33:08 UTC) #1
Ryan Sleevi
https://chromiumcodereview.appspot.com/10795012/diff/2001/net/socket/socket_test_util.cc File net/socket/socket_test_util.cc (right): https://chromiumcodereview.appspot.com/10795012/diff/2001/net/socket/socket_test_util.cc#newcode267 net/socket/socket_test_util.cc:267: EXPECT_EQ(write, write_count_); Rather than EXPECT_TRUE(false) [which is really ADD_FAILURE()] ...
8 years, 5 months ago (2012-07-18 18:02:13 UTC) #2
Ryan Hamilton
https://chromiumcodereview.appspot.com/10795012/diff/2001/net/socket/socket_test_util.cc File net/socket/socket_test_util.cc (right): https://chromiumcodereview.appspot.com/10795012/diff/2001/net/socket/socket_test_util.cc#newcode267 net/socket/socket_test_util.cc:267: EXPECT_EQ(write, write_count_); On 2012/07/18 18:02:13, Ryan Sleevi wrote: > ...
8 years, 5 months ago (2012-07-18 18:45:06 UTC) #3
Ryan Sleevi
You have the variables as arguments - can you not just pass them during verification? ...
8 years, 5 months ago (2012-07-18 19:14:01 UTC) #4
Ryan Hamilton
https://chromiumcodereview.appspot.com/10795012/diff/8001/net/socket/socket_test_util.cc File net/socket/socket_test_util.cc (right): https://chromiumcodereview.appspot.com/10795012/diff/8001/net/socket/socket_test_util.cc#newcode477 net/socket/socket_test_util.cc:477: VerifyCorrectSequenceNumbers(); On 2012/07/18 19:14:01, Ryan Sleevi wrote: > You ...
8 years, 5 months ago (2012-07-18 21:58:20 UTC) #5
Ryan Hamilton
On 2012/07/18 21:58:20, Ryan Hamilton wrote: > https://chromiumcodereview.appspot.com/10795012/diff/8001/net/socket/socket_test_util.cc > File net/socket/socket_test_util.cc (right): > > https://chromiumcodereview.appspot.com/10795012/diff/8001/net/socket/socket_test_util.cc#newcode477 ...
8 years, 5 months ago (2012-07-20 16:31:18 UTC) #6
Ryan Sleevi
On 2012/07/20 16:31:18, Ryan Hamilton wrote: > On 2012/07/18 21:58:20, Ryan Hamilton wrote: > > ...
8 years, 5 months ago (2012-07-20 16:43:23 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10795012/12011
8 years, 5 months ago (2012-07-20 17:51:35 UTC) #8
commit-bot: I haz the power
Failed to apply patch for net/spdy/spdy_network_transaction_spdy2_unittest.cc: While running patch -p1 --forward --force; patching file net/spdy/spdy_network_transaction_spdy2_unittest.cc ...
8 years, 5 months ago (2012-07-20 17:51:39 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10795012/5003
8 years, 5 months ago (2012-07-20 18:01:45 UTC) #10
commit-bot: I haz the power
Try job failure for 10795012-5003 (retry) on linux_rel for step "net_unittests". It's a second try, ...
8 years, 5 months ago (2012-07-20 18:48:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rch@chromium.org/10795012/2004
8 years, 5 months ago (2012-07-20 23:22:00 UTC) #12
commit-bot: I haz the power
8 years, 5 months ago (2012-07-21 00:35:41 UTC) #13
Change committed as 147749

Powered by Google App Engine
This is Rietveld 408576698