diff options
author | Craig Tiller <ctiller@google.com> | 2017-09-21 14:59:28 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-09-21 14:59:28 -0700 |
commit | f7225eb5f67d766726a17a1623c1975dcdd57c26 (patch) | |
tree | 0ea7adf69af8a2ee5ea7e72c1fbb49d91fe62804 /test/cpp/microbenchmarks/fullstack_fixtures.h | |
parent | 05d77d8b21dded88f8e3a5b175c506f0ab3b3a9b (diff) |
Fix some stalling in bm_fullstack_trickle, also switch to synthetic time
Diffstat (limited to 'test/cpp/microbenchmarks/fullstack_fixtures.h')
-rw-r--r-- | test/cpp/microbenchmarks/fullstack_fixtures.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/microbenchmarks/fullstack_fixtures.h b/test/cpp/microbenchmarks/fullstack_fixtures.h index ecd28c3f8a..a7f8504505 100644 --- a/test/cpp/microbenchmarks/fullstack_fixtures.h +++ b/test/cpp/microbenchmarks/fullstack_fixtures.h @@ -85,7 +85,7 @@ class FullstackFixture : public BaseFixture { } virtual ~FullstackFixture() { - server_->Shutdown(); + server_->Shutdown(gpr_inf_past(GPR_CLOCK_MONOTONIC)); cq_->Shutdown(); void* tag; bool ok; @@ -212,7 +212,7 @@ class EndpointPairFixture : public BaseFixture { } virtual ~EndpointPairFixture() { - server_->Shutdown(); + server_->Shutdown(gpr_inf_past(GPR_CLOCK_MONOTONIC)); cq_->Shutdown(); void* tag; bool ok; |