diff options
author | 2017-08-30 15:36:47 -0700 | |
---|---|---|
committer | 2017-08-30 15:37:45 -0700 | |
commit | c7c8e3cb1712438c64b1212911b6c22165982426 (patch) | |
tree | 0d173f0c0585582250af4d00d5101ac9e56bad6d /src/objective-c/tests/GRPCClientTests.m | |
parent | f282c8f525788e6f15331bb6c94471012a7e5346 (diff) |
Rename deadline to timeout
Diffstat (limited to 'src/objective-c/tests/GRPCClientTests.m')
-rw-r--r-- | src/objective-c/tests/GRPCClientTests.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/objective-c/tests/GRPCClientTests.m b/src/objective-c/tests/GRPCClientTests.m index d9c6932ea8..d050319533 100644 --- a/src/objective-c/tests/GRPCClientTests.m +++ b/src/objective-c/tests/GRPCClientTests.m @@ -422,7 +422,7 @@ static GRPCProtoMethod *kUnaryCallMethod; [self waitForExpectationsWithTimeout:TEST_TIMEOUT handler:nil]; } -- (void)testDeadline { +- (void)testTimeout { __weak XCTestExpectation *completion = [self expectationWithDescription:@"Empty RPC completed."]; GRPCCall *call = [[GRPCCall alloc] initWithHost:kHostAddress @@ -437,7 +437,7 @@ static GRPCProtoMethod *kUnaryCallMethod; [completion fulfill]; }]; - call.deadline = 1; + call.timeout = 1; [call startWithWriteable:responsesWriteable]; [self waitForExpectationsWithTimeout:TEST_TIMEOUT handler:nil]; |