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

Unified Diff: net/websockets/websocket_stream_test.cc

Issue 240873003: Create WebSocketTransportClientSocketPool (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Factor out CurrentAddress() method in SubJob class. Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/websockets/websocket_stream_test.cc
diff --git a/net/websockets/websocket_stream_test.cc b/net/websockets/websocket_stream_test.cc
index 0344cceb539810aaf0028477d316f31f6d6540b5..81a0ff05fa41e82861bed4b3dda5193593532452 100644
--- a/net/websockets/websocket_stream_test.cc
+++ b/net/websockets/websocket_stream_test.cc
@@ -82,6 +82,12 @@ class DeterministicKeyWebSocketHandshakeStreamCreateHelper
class WebSocketStreamCreateTest : public ::testing::Test {
public:
WebSocketStreamCreateTest() : has_failed_(false), ssl_fatal_(false) {}
+ virtual ~WebSocketStreamCreateTest() {
+ url_request_context_host_.GetURLRequestContext()
+ ->http_transaction_factory()
+ ->GetCache()
+ ->CloseAllConnections();
tyoshino (SeeGerritForStatus) 2014/06/18 06:49:43 please write the reason why you need this
Adam Rice 2014/06/19 13:55:21 I thought I needed it to make sure all the mock so
+ }
void CreateAndConnectCustomResponse(
const std::string& socket_url,

Powered by Google App Engine
This is Rietveld 408576698