aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/objective-c/tests/InteropTests.m
diff options
context:
space:
mode:
authorGravatar Muxi Yan <muxi@users.noreply.github.com>2018-03-26 11:33:23 -0700
committerGravatar Muxi Yan <mxyan@google.com>2018-03-26 17:18:25 -0700
commita6ffad97250ffa6eef28fc5230d69ceaadeb8a31 (patch)
tree120bc118023105e98f66a4411217d2d92895a0ef /src/objective-c/tests/InteropTests.m
parent6d855c5f3c7518e2b26a97e464ebb9366da05993 (diff)
Polish comments for setKeepaliveWithInterval
Diffstat (limited to 'src/objective-c/tests/InteropTests.m')
-rw-r--r--src/objective-c/tests/InteropTests.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/objective-c/tests/InteropTests.m b/src/objective-c/tests/InteropTests.m
index 66fea22c83..7a8bc9bd79 100644
--- a/src/objective-c/tests/InteropTests.m
+++ b/src/objective-c/tests/InteropTests.m
@@ -515,6 +515,9 @@ BOOL isRemoteInteropTest(NSString *host) {
} else {
// Keepalive should kick after 1s elapsed and fails the call.
XCTAssertNotNil(error);
+ XCTAssertEqual(error.code, GRPC_STATUS_INTERNAL);
+ XCTAssertEqualObjects(error.localizedDescription, @"keepalive watchdog timeout",
+ @"Unexpected failure that is not keepalive watchdog timeout.");
XCTAssertTrue(done);
[expectation fulfill];
}