diff options
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/microbenchmarks/bm_closure.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/microbenchmarks/bm_closure.cc b/test/cpp/microbenchmarks/bm_closure.cc index 8bdc3b9385..26310e5836 100644 --- a/test/cpp/microbenchmarks/bm_closure.cc +++ b/test/cpp/microbenchmarks/bm_closure.cc @@ -385,6 +385,7 @@ static void BM_ClosureReschedOnExecCtx(benchmark::State& state) { grpc_core::ExecCtx exec_ctx; Rescheduler r(state, grpc_schedule_on_exec_ctx); r.ScheduleFirst(); + grpc_core::ExecCtx::Get()->Flush(); track_counters.Finish(state); } |