Skip to content
Snippets Groups Projects
Commit 91d8f0b5 authored by Guantao Liu's avatar Guantao Liu
Browse files

Added the missing header file and fixed a syntax error.

parent ac9fdfbc
No related branches found
No related tags found
No related merge requests found
......@@ -285,8 +285,7 @@ std::unique_ptr<ScenarioResult> RunScenario(
if (!servers[i].stream->Read(&init_status)) {
gpr_log(GPR_ERROR, "Server %zu did not yield initial status", i);
}
if (qps_server_target_override != NULL &&
strlen(qps_server_target_override) > 0) {
if (qps_server_target_override.length() > 0) {
// overriding the qps server target only works if there is 1 server
GPR_ASSERT(num_servers == 1);
client_config.add_server_targets(qps_server_target_override);
......
......@@ -22,6 +22,7 @@
#include <memory>
#include <grpc/support/atm.h>
#include <grpc++/support/config.h>
namespace grpc {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment