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

Unified Diff: net/base/telnet_server_unittest.cc

Issue 6577: Porting of listen_socket, telnet_server to linux (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 12 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
Index: net/base/telnet_server_unittest.cc
===================================================================
--- net/base/telnet_server_unittest.cc (revision 3911)
+++ net/base/telnet_server_unittest.cc (working copy)
@@ -21,10 +21,6 @@
ListenSocketTester::SetUp();
// With TelnetServer, there's some control codes sent at connect time,
// so we need to eat those to avoid affecting the subsequent tests.
- // TODO(erikkay): Unfortunately, without the sleep, we don't seem to
- // reliably get the 15 bytes without an EWOULDBLOCK. It would be nice if
- // there were a more reliable mechanism here.
- Sleep(10);
ASSERT_EQ(ClearTestSocket(), 15);
}

Powered by Google App Engine
This is Rietveld 408576698