mirror of https://github.com/grpc/grpc-node.git
Fix an error in the new test
This commit is contained in:
parent
d32734f491
commit
f6e3ca3811
|
@ -172,7 +172,7 @@ describe(`${anyGrpc.clientName} client -> ${anyGrpc.serverName} server`, functio
|
|||
done = multiDone(done, 3);
|
||||
const header = 'X'.repeat(64 * 1024);
|
||||
const trailer = Buffer.from('Y'.repeat(64 * 1024));
|
||||
const metadata = new Metadata();
|
||||
const metadata = new grpc.Metadata();
|
||||
metadata.set('x-grpc-test-echo-initial', header);
|
||||
metadata.set('x-grpc-test-echo-trailing-bin', trailer);
|
||||
const call = client.unaryCall({}, metadata, (error, result) => {
|
||||
|
|
Loading…
Reference in New Issue