aboutsummaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2018-09-27 09:45:59 -0500
committerGravatar ncteisen <ncteisen@gmail.com>2018-09-27 09:45:59 -0500
commit4cc16f951c0909196a9ed62774adcbbaf9cc88c1 (patch)
tree6ce70223a7ba7af7bdc449381a27b534ae5705e3 /test
parentf13a74312672aaf7c72e984f59dbd351dcda4e8a (diff)
Simplifiy transport querying function
Diffstat (limited to 'test')
-rw-r--r--test/cpp/microbenchmarks/bm_call_create.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/test/cpp/microbenchmarks/bm_call_create.cc b/test/cpp/microbenchmarks/bm_call_create.cc
index 9516b2e3e2..b0cccafcf8 100644
--- a/test/cpp/microbenchmarks/bm_call_create.cc
+++ b/test/cpp/microbenchmarks/bm_call_create.cc
@@ -446,11 +446,13 @@ void Destroy(grpc_transport* self) {}
/* implementation of grpc_transport_get_endpoint */
grpc_endpoint* GetEndpoint(grpc_transport* self) { return nullptr; }
+intptr_t GetSocketUuid(grpc_transport* t) { return 0; }
+
static const grpc_transport_vtable dummy_transport_vtable = {
- 0, "dummy_http2", InitStream,
- SetPollset, SetPollsetSet, PerformStreamOp,
- PerformOp, DestroyStream, Destroy,
- GetEndpoint};
+ 0, "dummy_http2", InitStream,
+ SetPollset, SetPollsetSet, PerformStreamOp,
+ PerformOp, DestroyStream, Destroy,
+ GetEndpoint, GetSocketUuid};
static grpc_transport dummy_transport = {&dummy_transport_vtable};