| Index: net/socket/client_socket_pool_base_unittest.cc
|
| diff --git a/net/socket/client_socket_pool_base_unittest.cc b/net/socket/client_socket_pool_base_unittest.cc
|
| index 391fb61e6d0557b28932f96059d13bf8db2b30ff..5cc94984a76d5a49183993dfa365c4b8af8fe1d1 100644
|
| --- a/net/socket/client_socket_pool_base_unittest.cc
|
| +++ b/net/socket/client_socket_pool_base_unittest.cc
|
| @@ -1979,18 +1979,12 @@ TEST_F(ClientSocketPoolBaseTest, LoadStateTwoRequests) {
|
| BoundNetLog());
|
| EXPECT_EQ(ERR_IO_PENDING, rv);
|
|
|
| - // If the first Job is in an earlier state than the second, the state of
|
| - // the second job should be used for both handles.
|
| - client_socket_factory_.SetJobLoadState(0, LOAD_STATE_RESOLVING_HOST);
|
| - EXPECT_EQ(LOAD_STATE_CONNECTING, handle.GetLoadState());
|
| EXPECT_EQ(LOAD_STATE_CONNECTING, handle2.GetLoadState());
|
|
|
| - // If the second Job is in an earlier state than the second, the state of
|
| - // the first job should be used for both handles.
|
| - client_socket_factory_.SetJobLoadState(0, LOAD_STATE_SSL_HANDSHAKE);
|
| - // One request is farther
|
| - EXPECT_EQ(LOAD_STATE_SSL_HANDSHAKE, handle.GetLoadState());
|
| - EXPECT_EQ(LOAD_STATE_SSL_HANDSHAKE, handle2.GetLoadState());
|
| + // Check that both handles report the state of the first job.
|
| + client_socket_factory_.SetJobLoadState(0, LOAD_STATE_RESOLVING_HOST);
|
| + EXPECT_EQ(LOAD_STATE_RESOLVING_HOST, handle.GetLoadState());
|
| + EXPECT_EQ(LOAD_STATE_RESOLVING_HOST, handle2.GetLoadState());
|
|
|
| // Farthest along job connects and the first request gets the socket. The
|
| // second handle switches to the state of the remaining ConnectJob.
|
|
|