Index: webrtc/base/virtualsocket_unittest.cc |
diff --git a/webrtc/base/virtualsocket_unittest.cc b/webrtc/base/virtualsocket_unittest.cc |
index cab8bb0dc39821514d54ff0dbeb2c257a59bce04..5f62fd1ae26dbb453c1f30ae09672a701a487e0d 100644 |
--- a/webrtc/base/virtualsocket_unittest.cc |
+++ b/webrtc/base/virtualsocket_unittest.cc |
@@ -912,7 +912,15 @@ TEST_F(VirtualSocketServerTest, bandwidth_v6) { |
BandwidthTest(kIPv6AnyAddress); |
} |
-TEST_F(VirtualSocketServerTest, delay_v4) { |
+// Disabled on iOS simulator since it's a test that relies on being able to |
+// process packets fast enough in real time, which isn't the case in the |
+// simulator. |
+#if defined(TARGET_IPHONE_SIMULATOR) |
+#define MAYBE_delay_v4 DISABLED_delay_v4 |
+#else |
+#define MAYBE_delay_v4 delay_v4 |
+#endif |
+TEST_F(VirtualSocketServerTest, MAYBE_delay_v4) { |
DelayTest(kIPv4AnyAddress); |
} |