aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2018-12-20 09:52:26 -0800
committerGravatar Muxi Yan <mxyan@google.com>2018-12-20 09:52:26 -0800
commit291b4f363bbf7226eb7a3bbd7ad620f5be67c625 (patch)
tree38663797db2b383f1342271b612591da28f855a2
parent6cf4622cd1a721704c70be2160b6454937771141 (diff)
More test fix
-rw-r--r--src/objective-c/GRPCClient/GRPCCall.m2
-rwxr-xr-xsrc/objective-c/tests/run_tests.sh1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/objective-c/GRPCClient/GRPCCall.m b/src/objective-c/GRPCClient/GRPCCall.m
index 9bcacac0df..b0412cddb0 100644
--- a/src/objective-c/GRPCClient/GRPCCall.m
+++ b/src/objective-c/GRPCClient/GRPCCall.m
@@ -69,7 +69,7 @@ const char *kCFStreamVarName = "grpc_cfstream";
@implementation GRPCRequestOptions
- (instancetype)initWithHost:(NSString *)host path:(NSString *)path safety:(GRPCCallSafety)safety {
- NSAssert(host.length != 0 && path.length != 0, @"Host and Path cannot be empty");
+ NSAssert(host.length != 0 && path.length != 0, @"host and path cannot be empty");
if (host.length == 0 || path.length == 0) {
return nil;
}
diff --git a/src/objective-c/tests/run_tests.sh b/src/objective-c/tests/run_tests.sh
index 8402809c09..f6fea96920 100755
--- a/src/objective-c/tests/run_tests.sh
+++ b/src/objective-c/tests/run_tests.sh
@@ -189,6 +189,7 @@ xcodebuild \
-scheme APIv2Tests \
-destination name="iPhone 8" \
HOST_PORT_LOCAL=localhost:5050 \
+ HOST_PORT_REMOTE=grpc-test.sandbox.googleapis.com \
test \
| egrep -v "$XCODEBUILD_FILTER" \
| egrep -v '^$' \