From 7b55362e0fcb55f42240c1164678709e50504b60 Mon Sep 17 00:00:00 2001 From: Siddharth Rakesh Date: Thu, 11 Jun 2015 20:59:14 -0700 Subject: updated auth script --- test/cpp/qps/run_auth_test.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'test/cpp/qps') diff --git a/test/cpp/qps/run_auth_test.py b/test/cpp/qps/run_auth_test.py index 75bdab22a4..06b064cad0 100755 --- a/test/cpp/qps/run_auth_test.py +++ b/test/cpp/qps/run_auth_test.py @@ -115,7 +115,11 @@ def main(): if not os.path.exists(ACCESS_TOKENS_DIR): os.makedirs(ACCESS_TOKENS_DIR) - email = sys.argv[2] + if len(sys.argv) > 2: + email = sys.argv[2] + else: + email = raw_input('Enter your e-mail id: ') + email = email.split('@')[0].lower() userId = re.sub('[.]', '', email) -- cgit v1.2.3