From cc5fe63da0785a4f29346ac43e529d924c6f338d Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Wed, 17 Oct 2018 16:27:59 -0400 Subject: Fix bazel for //test/cpp/microbenchmarks/... Fix a build failure due to missed dependency and add the bm_create_call benchmark to the build targets. --- test/cpp/microbenchmarks/BUILD | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'test/cpp/microbenchmarks/BUILD') diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD index 0c3b9ef816..6c1859ff4f 100644 --- a/test/cpp/microbenchmarks/BUILD +++ b/test/cpp/microbenchmarks/BUILD @@ -24,7 +24,7 @@ grpc_cc_test( external_deps = [ "benchmark", ], - deps = ["//test/core/util:gpr_test_util",] + deps = ["//test/core/util:gpr_test_util"], ) grpc_cc_library( @@ -41,6 +41,7 @@ grpc_cc_library( ], deps = [ "//:grpc++_unsecure", + "//:lb_server_load_reporting_filter", "//src/proto/grpc/testing:echo_proto", "//test/core/util:grpc_test_util_unsecure", "//test/cpp/util:test_config", @@ -68,6 +69,13 @@ grpc_cc_binary( deps = [":helpers"], ) +grpc_cc_binary( + name = "bm_call_create", + testonly = 1, + srcs = ["bm_call_create.cc"], + deps = [":helpers"], +) + grpc_cc_binary( name = "bm_cq", testonly = 1, -- cgit v1.2.3 From 1a7f14fd310fafc3df9a06d161f7cebc2e9ad7ad Mon Sep 17 00:00:00 2001 From: ncteisen Date: Thu, 18 Oct 2018 14:00:09 -0700 Subject: Remove uneeded header --- test/cpp/microbenchmarks/BUILD | 1 - test/cpp/microbenchmarks/bm_call_create.cc | 1 - 2 files changed, 2 deletions(-) (limited to 'test/cpp/microbenchmarks/BUILD') diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD index 6c1859ff4f..097e92f583 100644 --- a/test/cpp/microbenchmarks/BUILD +++ b/test/cpp/microbenchmarks/BUILD @@ -41,7 +41,6 @@ grpc_cc_library( ], deps = [ "//:grpc++_unsecure", - "//:lb_server_load_reporting_filter", "//src/proto/grpc/testing:echo_proto", "//test/core/util:grpc_test_util_unsecure", "//test/cpp/util:test_config", diff --git a/test/cpp/microbenchmarks/bm_call_create.cc b/test/cpp/microbenchmarks/bm_call_create.cc index 389b888084..1f7831096c 100644 --- a/test/cpp/microbenchmarks/bm_call_create.cc +++ b/test/cpp/microbenchmarks/bm_call_create.cc @@ -34,7 +34,6 @@ #include "src/core/ext/filters/http/client/http_client_filter.h" #include "src/core/ext/filters/http/message_compress/message_compress_filter.h" #include "src/core/ext/filters/http/server/http_server_filter.h" -#include "src/core/ext/filters/load_reporting/server_load_reporting_filter.h" #include "src/core/ext/filters/message_size/message_size_filter.h" #include "src/core/lib/channel/channel_stack.h" #include "src/core/lib/channel/connected_channel.h" -- cgit v1.2.3