aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/microbenchmarks
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-11-15 18:24:05 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-11-15 18:24:05 -0800
commit3039b37a0ecf68d7b99fa84df21bb6691a174289 (patch)
treee3097e8d572588d470c26f7f83e935400fdfac64 /test/cpp/microbenchmarks
parent0354c22d402647b5ba532038511a4849c53b2b0b (diff)
Fix bad merge
Diffstat (limited to 'test/cpp/microbenchmarks')
-rw-r--r--test/cpp/microbenchmarks/bm_error.cc19
1 files changed, 3 insertions, 16 deletions
diff --git a/test/cpp/microbenchmarks/bm_error.cc b/test/cpp/microbenchmarks/bm_error.cc
index 66f9fe3704..bbd8b3c339 100644
--- a/test/cpp/microbenchmarks/bm_error.cc
+++ b/test/cpp/microbenchmarks/bm_error.cc
@@ -251,11 +251,7 @@ static void BM_ErrorGetStatus(benchmark::State& state) {
grpc_status_code status;
grpc_slice slice;
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(),
-<<<<<<< HEAD
- &status, &slice, NULL, NULL);
-=======
- &status, &slice, nullptr);
->>>>>>> ff2edb3eba20b30f232ded7769cab8cd20ff5009
+ &status, &slice, nullptr, nullptr);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);
@@ -269,11 +265,7 @@ static void BM_ErrorGetStatusCode(benchmark::State& state) {
while (state.KeepRunning()) {
grpc_status_code status;
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(),
-<<<<<<< HEAD
- &status, NULL, NULL, NULL);
-=======
- &status, nullptr, nullptr);
->>>>>>> ff2edb3eba20b30f232ded7769cab8cd20ff5009
+ &status, nullptr, nullptr, nullptr);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);
@@ -286,13 +278,8 @@ static void BM_ErrorHttpError(benchmark::State& state) {
grpc_exec_ctx exec_ctx = GRPC_EXEC_CTX_INIT;
while (state.KeepRunning()) {
grpc_http2_error_code error;
-<<<<<<< HEAD
- grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(), NULL,
- NULL, &error, NULL);
-=======
grpc_error_get_status(&exec_ctx, fixture.error(), fixture.deadline(),
- nullptr, nullptr, &error);
->>>>>>> ff2edb3eba20b30f232ded7769cab8cd20ff5009
+ nullptr, nullptr, &error, nullptr);
}
grpc_exec_ctx_finish(&exec_ctx);
track_counters.Finish(state);