aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/Connectivity/README.md
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-07-08 17:05:02 -0700
committerGravatar yang-g <yangg@google.com>2016-07-08 17:05:02 -0700
commitdc3a775e6026666f698e5460281645acb2005dd8 (patch)
tree510a4c7cf4e6b81dd8a2c5652d56f3006533c11d /src/objective-c/tests/Connectivity/README.md
parent9ef0cd81f74eff88191cff541add28765b59ff46 (diff)
parentc1bfe124ab0d151f7619f4fefc08244bd1dd4750 (diff)
Merge remote-tracking branch 'upstream/master' into import
Diffstat (limited to 'src/objective-c/tests/Connectivity/README.md')
-rw-r--r--src/objective-c/tests/Connectivity/README.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/objective-c/tests/Connectivity/README.md b/src/objective-c/tests/Connectivity/README.md
new file mode 100644
index 0000000000..851cb9d1da
--- /dev/null
+++ b/src/objective-c/tests/Connectivity/README.md
@@ -0,0 +1,16 @@
+This app can be used to manually test gRPC under changing network conditions.
+
+It makes RPCs in a loop, logging when the request is sent and the response is received.
+
+To test on the simulator, run `pod install`, open the workspace created by Cocoapods, and run the app.
+Once running, disable WiFi (or ethernet) _in your computer_, then enable it again after a while. Don't
+bother with the simulator's WiFi or cell settings, as they have no effect: Simulator apps are just Mac
+apps running within the simulator UI.
+
+The expected result is to never see a "hanged" RPC: success or failure should happen almost immediately
+after sending the request. Symptom of a hanged RPC is a log like the following being the last in your
+console:
+
+```
+2016-06-29 16:51:29.443 ConnectivityTestingApp[73129:3567949] Sending request.
+```