diff options
author | Craig Tiller <craig.tiller@gmail.com> | 2015-09-10 22:37:25 -0700 |
---|---|---|
committer | Craig Tiller <craig.tiller@gmail.com> | 2015-09-10 22:37:25 -0700 |
commit | 8cf0ed03d188a053606c74bc340e0b04fd24710a (patch) | |
tree | 85d325f153d707cfe4036ebbf48abcb0da82f885 /test | |
parent | 5ea5dc26e754ec4c8a660efec299316029a9f451 (diff) |
Fix mac build
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/qps/server_async.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc index 1251679ba2..516598a0e2 100644 --- a/test/cpp/qps/server_async.cc +++ b/test/cpp/qps/server_async.cc @@ -98,7 +98,7 @@ class AsyncQpsServerTest : public Server { } } ~AsyncQpsServerTest() { - auto deadline = std::chrono::high_resolution_clock::now() + + auto deadline = std::chrono::system_clock::now() + std::chrono::seconds(10); server_->Shutdown(deadline); for (auto ss = shutdown_state_.begin(); ss != shutdown_state_.end(); ++ss) { |