Enable webrtc_nonparallel_tests on iOS simulator

After landing https://chromium-review.googlesource.com/528173
only one test needs to be disabled: VirtualSocketServerTest.delay_v4

BUG=webrtc:7727
NOTRY=True
TESTED=gn gen out/x64-Debug --args='target_os="ios" ios_enable_code_signing=false is_component_build=false target_cpu="x64"'
ninja -C out/x64-Debug webrtc_nonparallel_tests
out/x64-Debug/iossim -d "iPhone 6s" -s 10.3 out/x64-Debug/webrtc_nonparallel_tests.app

Review-Url: https://codereview.webrtc.org/2909073002
Cr-Commit-Position: refs/heads/master@{#18519}
diff --git a/tools_webrtc/ios/tests/common_tests.json b/tools_webrtc/ios/tests/common_tests.json
index 910b94b..25f6ea3 100644
--- a/tools_webrtc/ios/tests/common_tests.json
+++ b/tools_webrtc/ios/tests/common_tests.json
@@ -33,6 +33,9 @@
     },
     {
       "app": "voice_engine_unittests"
+    },
+    {
+      "app": "webrtc_nonparallel_tests"
     }
   ]
 }
diff --git a/webrtc/base/virtualsocket_unittest.cc b/webrtc/base/virtualsocket_unittest.cc
index cab8bb0..5f62fd1 100644
--- a/webrtc/base/virtualsocket_unittest.cc
+++ b/webrtc/base/virtualsocket_unittest.cc
@@ -912,7 +912,15 @@
   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);
 }