aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/GRPCClientTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-09-11 15:48:51 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-09-11 15:48:51 -0700
commitf6e61bf7686bfce40d4f3912fd9eeb2ba6987e62 (patch)
tree5648dcdffd1d1e63c384d53acb6cb9b6062fdff2 /src/objective-c/tests/GRPCClientTests.m
parentafa47005015295e65b932403142938f9bb9b72fc (diff)
Add comment for timeout; assert on negative timeout value; fix timeout test
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r--src/objective-c/tests/GRPCClientTests.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m
index d050319533..4be3d1c5e8 100644
--- a/src/objective-c/tests/GRPCClientTests.m
+++ b/src/objective-c/tests/GRPCClientTests.m
@@ -437,7 +437,7 @@ static GRPCProtoMethod *kUnaryCallMethod;
[completion fulfill];
}];
- call.timeout = 1;
+ call.timeout = 0.001;
[call startWithWriteable:responsesWriteable];
[self waitForExpectationsWithTimeout:TEST_TIMEOUT handler:nil];