diff options
author | 2016-12-09 08:44:39 -0800 | |
---|---|---|
committer | 2016-12-09 08:44:39 -0800 | |
commit | e7b74698f9cff175a71f1e35e5f0888b9ffd08bb (patch) | |
tree | 9e74e95c0969e076a343249b87ffbf21e4986422 /test/cpp | |
parent | 9e78d69fafd66334909f13cac1f3743a21c7ff55 (diff) | |
parent | 162f9ea69f5e839dc4fd2225cb32b1c18ef326af (diff) |
Merge branch 'slice_interning' into metadata_filter
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/microbenchmarks/bm_fullstack.cc | 2 | ||||
-rw-r--r-- | test/cpp/microbenchmarks/noop-benchmark.cc | 4 | ||||
-rw-r--r-- | test/cpp/qps/driver.cc | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/test/cpp/microbenchmarks/bm_fullstack.cc b/test/cpp/microbenchmarks/bm_fullstack.cc index e7b05b803f..bd158db522 100644 --- a/test/cpp/microbenchmarks/bm_fullstack.cc +++ b/test/cpp/microbenchmarks/bm_fullstack.cc @@ -59,7 +59,7 @@ extern "C" { } #include "src/cpp/client/create_channel_internal.h" #include "src/proto/grpc/testing/echo.grpc.pb.h" -#include "third_party/google_benchmark/include/benchmark/benchmark.h" +#include "third_party/benchmark/include/benchmark/benchmark.h" namespace grpc { namespace testing { diff --git a/test/cpp/microbenchmarks/noop-benchmark.cc b/test/cpp/microbenchmarks/noop-benchmark.cc index 6b06c69c6e..99fa6d5f6e 100644 --- a/test/cpp/microbenchmarks/noop-benchmark.cc +++ b/test/cpp/microbenchmarks/noop-benchmark.cc @@ -31,10 +31,10 @@ * */ -/* This benchmark exists to ensure that the google_benchmark integration is +/* This benchmark exists to ensure that the benchmark integration is * working */ -#include "third_party/google_benchmark/include/benchmark/benchmark.h" +#include "third_party/benchmark/include/benchmark/benchmark.h" static void BM_NoOp(benchmark::State& state) { while (state.KeepRunning()) { diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index ea0b38e8ad..22b2cd080d 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -101,7 +101,7 @@ static std::unordered_map<string, std::deque<int>> get_hosts_and_cores( static deque<string> get_workers(const string& name) { char* env = gpr_getenv(name.c_str()); - if (!env) return deque<string>(); + if (!env || strlen(env) == 0) return deque<string>(); deque<string> out; char* p = env; |