diff options
author | Vijay Pai <vpai@google.com> | 2016-02-13 01:25:30 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2016-02-13 01:25:30 -0800 |
commit | e40aefb829dbe1897ac0b8d9dbe4050a2239f294 (patch) | |
tree | f050db5096d10822acbe7d059776f47dba9d7ec2 /test/cpp | |
parent | b48f4c830a2da0a981c449b5ec6f9b93eabcc24a (diff) |
Fix the timeout
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/qps/driver.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index e721966696..1c7fdf8796 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -196,7 +196,8 @@ std::unique_ptr<ScenarioResult> RunScenario( // Trim to just what we need workers.resize(num_clients + num_servers); - gpr_timespec deadline = GRPC_TIMEOUT_SECONDS_TO_DEADLINE(20); + gpr_timespec deadline = + GRPC_TIMEOUT_SECONDS_TO_DEADLINE(warmup_seconds + benchmark_seconds + 20); // Start servers using runsc::ServerData; |