aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps
diff options
context:
space:
mode:
authorGravatar Siddharth Rakesh <sidrakesh@google.com>2015-06-19 11:16:12 -0700
committerGravatar Siddharth Rakesh <sidrakesh@google.com>2015-06-19 11:16:12 -0700
commit12c65b1a7e3d6707b703d6294144c63c9dac122d (patch)
treeab4826517ddfd831b6cc050f736e5122544ae2a5 /test/cpp/qps
parentcc5857b624a0f99af1cdf9944213673080d0fe52 (diff)
slightly updated tool script
Diffstat (limited to 'test/cpp/qps')
-rwxr-xr-xtest/cpp/qps/run_perf_db_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/cpp/qps/run_perf_db_test.py b/test/cpp/qps/run_perf_db_test.py
index 34007aa97c..634555546a 100755
--- a/test/cpp/qps/run_perf_db_test.py
+++ b/test/cpp/qps/run_perf_db_test.py
@@ -230,7 +230,7 @@ def getSysInfo():
tcp_rr_rate = str(os.popen('netperf -t TCP_RR -v 0').readlines()[1])
print 'Network info obtained'
- nicInfo.append('TCP RR Transmission Rate per sec: ' + tcp_rr_rate + '\n')
+ nicInfo.append('TCP RR transmission rate per sec: ' + tcp_rr_rate + '\n')
sysInfo = sysInfo + nicInfo
return sysInfo
@@ -257,13 +257,14 @@ def main():
except Exception, e:
print 'Error in authentication'
+ # Address of the performance database server
serverAddress = 'sidrakesh.mtv.google.corp.com:50052'
try:
testPath = findTestPath(test) # Get path to test
testName = testPath.split('/')[-1] # Get test name
- sysInfo = getSysInfo()
+ sysInfo = getSysInfo() # get the system information
print '\nBeginning test:\n'
# Run the test