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

Unified Diff: net/proxy/proxy_script_fetcher_unittest.cc

Issue 320003: Refactor: Don't send the quit command before killing test server for ProxyScr... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/proxy/proxy_script_fetcher_unittest.cc
===================================================================
--- net/proxy/proxy_script_fetcher_unittest.cc (revision 29714)
+++ net/proxy/proxy_script_fetcher_unittest.cc (working copy)
@@ -193,8 +193,7 @@
}
// Now kill the HTTP server.
- server->SendQuit();
- EXPECT_TRUE(server->WaitToFinish(20000));
+ EXPECT_TRUE(server->Stop()); // Verify it shutdown synchronously.
wtc 2009/10/22 21:38:58 Nit: shutdown => shut down (past tense?)
server = NULL;
// Try to fetch the file again -- if should fail, since the server is not
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698