Fixing benchmarks.

This commit is contained in:
nmittler 2015-09-24 10:16:38 -07:00
parent 70fbd6735a
commit e13d1dc3f5
1 changed files with 3 additions and 0 deletions

View File

@ -274,6 +274,7 @@ public abstract class AbstractBenchmark {
MethodDescriptor<ByteBuf, ByteBuf> method,
final ServerCall<ByteBuf> call,
Metadata headers) {
call.sendHeaders(new Metadata());
call.request(1);
return new ServerCall.Listener<ByteBuf>() {
@Override
@ -306,6 +307,7 @@ public abstract class AbstractBenchmark {
MethodDescriptor<ByteBuf, ByteBuf> method,
final ServerCall<ByteBuf> call,
Metadata headers) {
call.sendHeaders(new Metadata());
call.request(1);
return new ServerCall.Listener<ByteBuf>() {
@Override
@ -340,6 +342,7 @@ public abstract class AbstractBenchmark {
MethodDescriptor<ByteBuf, ByteBuf> method,
final ServerCall<ByteBuf> call,
Metadata headers) {
call.sendHeaders(new Metadata());
call.request(1);
return new ServerCall.Listener<ByteBuf>() {
@Override