aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/GRPCClientTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-10-22 13:56:10 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-10-22 13:56:10 -0700
commitfb1ebfef00e5153e30c1a008a350c53dde4335c3 (patch)
tree3bd129c7c9922b2543a81bd1e40046a3656a5bcf /src/objective-c/tests/GRPCClientTests.m
parentb03adfbf067cc4f7ef05eb7fa8cbf49c08b3bf6b (diff)
Fix test flake
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r--src/objective-c/tests/GRPCClientTests.m4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m
index 0d1b80e33c..2021540f28 100644
--- a/src/objective-c/tests/GRPCClientTests.m
+++ b/src/objective-c/tests/GRPCClientTests.m
@@ -120,7 +120,7 @@ static GRPCProtoMethod *kFullDuplexCallMethod;
}
}
-- (void)receivedProtoMessage:(GPBMessage *_Nullable)message {
+- (void)receivedRawMessage:(GPBMessage *_Nullable)message {
if (_messageCallback) {
_messageCallback(message);
}
@@ -803,7 +803,7 @@ static GRPCProtoMethod *kFullDuplexCallMethod;
__weak XCTestExpectation *completion = [self expectationWithDescription:@"Timeout in a second."];
NSString *const kDummyAddress = [NSString stringWithFormat:@"8.8.8.8:1"];
GRPCCall *call = [[GRPCCall alloc] initWithHost:kDummyAddress
- path:@""
+ path:@"/dummyPath"
requestsWriter:[GRXWriter writerWithValue:[NSData data]]];
[GRPCCall setMinConnectTimeout:timeout * 1000
initialBackoff:backoff * 1000