diff options
author | Muxi Yan <muxi@users.noreply.github.com> | 2017-03-13 17:33:36 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-13 17:33:36 -0700 |
commit | 9f74e838e2cfdba10176e9fda3baa3dfe45a5ac0 (patch) | |
tree | aa274b5bea37a7368f80c97333ad069648b57726 /src/objective-c/tests/InteropTestsRemote.m | |
parent | 7e151845ab580a7fd5fb72922d3381034045d7b4 (diff) | |
parent | 37bbbd770f3131cf5edbc1201d343320440897af (diff) |
Merge branch 'master' into packet-coalescing-objc
Diffstat (limited to 'src/objective-c/tests/InteropTestsRemote.m')
-rw-r--r-- | src/objective-c/tests/InteropTestsRemote.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/objective-c/tests/InteropTestsRemote.m b/src/objective-c/tests/InteropTestsRemote.m index ad7efebc81..ff1193302b 100644 --- a/src/objective-c/tests/InteropTestsRemote.m +++ b/src/objective-c/tests/InteropTestsRemote.m @@ -38,6 +38,10 @@ 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. */ @interface InteropTestsRemote : InteropTests @end @@ -49,7 +53,7 @@ static NSString * const kRemoteSSLHost = @"grpc-test.sandbox.googleapis.com"; } - (int32_t)encodingOverhead { - return 12; // bytes + return kRemoteInteropServerOverhead; // bytes } @end |