|
|
@ -37,6 +37,10 @@ |
|
|
|
|
|
|
|
|
|
|
|
static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com"; |
|
|
|
static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com"; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// The Protocol Buffers encoding overhead of remote interop server. Acquired |
|
|
|
|
|
|
|
// by experiment. Adjust this when server's proto file changes. |
|
|
|
|
|
|
|
static int32_t kRemoteInteropServerOverhead = 12; |
|
|
|
|
|
|
|
|
|
|
|
/** Tests in InteropTests.m, sending the RPCs to a remote SSL server. */ |
|
|
|
/** Tests in InteropTests.m, sending the RPCs to a remote SSL server. */ |
|
|
|
@interface InteropTestsRemoteWithCronet : InteropTests |
|
|
|
@interface InteropTestsRemoteWithCronet : InteropTests |
|
|
|
@end |
|
|
|
@end |
|
|
@ -48,7 +52,7 @@ static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
- (int32_t)encodingOverhead { |
|
|
|
- (int32_t)encodingOverhead { |
|
|
|
return 12; // bytes |
|
|
|
return kRemoteInteropServerOverhead; // bytes |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@end |
|
|
|
@end |
|
|
|