Disable failing net_unittests on ChromeOS.

With DCHECKs on, these tests fail on ChromeOS.

Bug: 873851
Test: These are the tests.
Change-Id: I0f823918462dfb66c5fa8307e7d76150d8dacd6f
Reviewed-on: https://chromium-review.googlesource.com/1173506
Reviewed-by: Asanka Herath <[email protected]>
Commit-Queue: Achuith Bhandarkar <[email protected]>
Cr-Commit-Position: refs/heads/master@{#582987}
diff --git a/net/socket/tcp_socket_unittest.cc b/net/socket/tcp_socket_unittest.cc
index 83c2b96..c37349b 100644
--- a/net/socket/tcp_socket_unittest.cc
+++ b/net/socket/tcp_socket_unittest.cc
@@ -597,9 +597,15 @@
   TestSPWNotifications(false, 2u, 0u, 0u);
 }
 
+#if defined(OS_CHROMEOS)
+// https://crbug.com/873851.
+#define MAYBE_SPWNoAdvance DISABLED_SPWNoAdvance
+#else
+#define MAYBE_SPWNoAdvance SPWNoAdvance
+#endif
 // One notification should be received when the socket connects. One
 // additional notification should be received for each message read.
-TEST_F(TCPSocketTest, SPWNoAdvance) {
+TEST_F(TCPSocketTest, MAYBE_SPWNoAdvance) {
   TestSPWNotifications(true, 2u, 0u, 3u);
 }
 #endif  // defined(TCP_INFO) || defined(OS_LINUX)