aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/interop
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-01-27 15:02:14 -0800
committerGravatar Yang Gao <yangg@google.com>2015-01-27 15:02:14 -0800
commitaec1d0b391d08eac3f2d4615855db26e9ad7a2ad (patch)
tree2a9f96870a0ebaf8cbc6c5a41e2df64cfaa0a81c /test/cpp/interop
parentbd18be2f33b1ef64a2c8ada0b693d54dabfa91f4 (diff)
make the flag name shorter
Diffstat (limited to 'test/cpp/interop')
-rw-r--r--test/cpp/interop/client.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cpp/interop/client.cc b/test/cpp/interop/client.cc
index 8f7bb88762..8786fb7be4 100644
--- a/test/cpp/interop/client.cc
+++ b/test/cpp/interop/client.cc
@@ -72,7 +72,7 @@ DEFINE_string(test_case, "large_unary",
"service_account_creds : large_unary with service_account auth; "
"compute_engine_creds: large_unary with compute engine auth; "
"all : all of above.");
-DEFINE_string(compute_engine_default_username, "",
+DEFINE_string(default_service_account, "",
"Email of GCE default service account");
DEFINE_string(service_account_key_file, "",
"Path to service account json key file.");
@@ -191,7 +191,8 @@ void DoComputeEngineCreds() {
gpr_log(GPR_INFO, "Got username %s", response.username().c_str());
gpr_log(GPR_INFO, "Got oauth_scope %s", response.oauth_scope().c_str());
GPR_ASSERT(!response.username().empty());
- GPR_ASSERT(response.username() == FLAGS_compute_engine_default_username);
+ GPR_ASSERT(response.username() ==
+ FLAGS_default_service_account);
GPR_ASSERT(!response.oauth_scope().empty());
GPR_ASSERT(
FLAGS_oauth_scope.find(response.oauth_scope()) != grpc::string::npos);