aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server.h
diff options
context:
space:
mode:
authorGravatar vjpai <vpai@google.com>2015-11-04 14:49:17 -0800
committerGravatar vjpai <vpai@google.com>2015-11-04 14:49:17 -0800
commitfba20c987d4eedaa039a828ec7c6ab3fed99ea7d (patch)
treea147ebf4d2352b4a2232e78b57d3b5347469cfd5 /test/cpp/qps/server.h
parent1f6f02a6f428cc2d58f025337ed7aba0e0ae7c80 (diff)
Address some review comments about signal and restoring qps_test_with_poll
Make payloads respect the new defaults
Diffstat (limited to 'test/cpp/qps/server.h')
-rw-r--r--test/cpp/qps/server.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/server.h b/test/cpp/qps/server.h
index 0309cb5c20..6e81edc8ff 100644
--- a/test/cpp/qps/server.h
+++ b/test/cpp/qps/server.h
@@ -86,8 +86,8 @@ class Server {
return true;
}
- int Port() const { return port_; }
- int Cores() const { return gpr_cpu_num_cores(); }
+ int port() const { return port_; }
+ int cores() const { return gpr_cpu_num_cores(); }
static std::shared_ptr<ServerCredentials> CreateServerCredentials(
const ServerConfig& config) {
if (config.has_security_params()) {