aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node
diff options
context:
space:
mode:
authorGravatar Eric Gribkoff <ericgribkoff@google.com>2017-01-06 09:16:29 -0800
committerGravatar Eric Gribkoff <ericgribkoff@google.com>2017-01-06 09:16:29 -0800
commitced8702d1d184fe83bbdcdfc97868a9f94868986 (patch)
tree1310485e70816416b11e62df415436b5b744e53a /src/node
parent13ac3031aaf630956da68d6debe246c62922224d (diff)
Enable advanced Java interop tests.
Add response parameters to custom_metadata streaming request for Node and PHP clients. The Java server does not respond with separate initial and trailing metadata when there is no response data - it is only emiting the requested trailing metadata. Adding the response parameters to the test (in accordance with the specification) avoids this, but I will open a separate issue to investigate the Java behavior.
Diffstat (limited to 'src/node')
-rw-r--r--src/node/interop/interop_client.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/node/interop/interop_client.js b/src/node/interop/interop_client.js
index 46ddecfb1f..75cfb41342 100644
--- a/src/node/interop/interop_client.js
+++ b/src/node/interop/interop_client.js
@@ -312,6 +312,9 @@ function customMetadata(client, done) {
}
};
var streaming_arg = {
+ response_parameters: [
+ {size: 314159}
+ ],
payload: {
body: zeroBuffer(271828)
}