diff options
author | apolcyn <apolcyn@google.com> | 2016-12-08 14:04:48 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-08 14:04:48 -0800 |
commit | ad13e597e5664391589d3100efbe8337fad557b2 (patch) | |
tree | 609199b4b0e9938853221d485337b0a7af314eef /test/cpp/qps/driver.cc | |
parent | ef17501a60a3171121ecb9f2814d6589104e98b3 (diff) | |
parent | ca5e92442fedd5bd72fe2438f7d03c7bf2f9b00d (diff) |
Merge pull request #8969 from apolcyn/fix_netperf_quit_job_timeout
handle empty string for qps workers in driver and dont quit them after netperf test
Diffstat (limited to 'test/cpp/qps/driver.cc')
-rw-r--r-- | test/cpp/qps/driver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index ea0b38e8ad..22b2cd080d 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -101,7 +101,7 @@ static std::unordered_map<string, std::deque<int>> get_hosts_and_cores( static deque<string> get_workers(const string& name) { char* env = gpr_getenv(name.c_str()); - if (!env) return deque<string>(); + if (!env || strlen(env) == 0) return deque<string>(); deque<string> out; char* p = env; |