Fix an error in the new test

This commit is contained in:
Michael Lumish 2020-09-11 13:42:49 -07:00
parent d32734f491
commit f6e3ca3811
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {