Fix hard written port

pull/19410/head
Muxi Yan 6 years ago
parent 5255b49fbc
commit c5c3983c97
  1. 8
      src/objective-c/tests/UnitTests/GRPCClientTests.m

@ -37,10 +37,14 @@
#define TEST_TIMEOUT 16
static NSString *const kHostAddress = @"localhost:5050";
// The server address is derived from preprocessor macro, which is
// in turn derived from environment variable of the same name.
#define NSStringize_helper(x) #x
#define NSStringize(x) @NSStringize_helper(x)
static NSString *const kHostAddress = NSStringize(HOST_PORT_LOCAL);
static NSString *const kPackage = @"grpc.testing";
static NSString *const kService = @"TestService";
static NSString *const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com";
static NSString *const kRemoteSSLHost = NSStringize(HOST_PORT_REMOTE);
static GRPCProtoMethod *kInexistentMethod;
static GRPCProtoMethod *kEmptyCallMethod;

Loading…
Cancel
Save