diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-04-06 15:25:46 -0700 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-04-06 15:25:46 -0700 |
commit | 2879aa1b1db9a72299c62cb9e9f2aa74e3e3e762 (patch) | |
tree | 3ecc9cd939101bfbdf3d737089b83bbfac7e28e2 /src | |
parent | adc53ade9bbb1cb5efaa6d521e4284061faf2ea5 (diff) | |
parent | 9a56be10e1edb3411f20e434b96b7d3acb65e879 (diff) |
Merge pull request #6091 from sreecha/fix_stress_client_spec
Fix a typo in the spec (and make corresponding change in node stress client)
Diffstat (limited to 'src')
-rw-r--r-- | src/node/stress/stress_client.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/node/stress/stress_client.js b/src/node/stress/stress_client.js index 8332652e2a..6054d3a253 100644 --- a/src/node/stress/stress_client.js +++ b/src/node/stress/stress_client.js @@ -102,7 +102,7 @@ function main() { var argv = parseArgs(process.argv, { string: ['server_addresses', 'test_cases', 'metrics_port'], default: {'server_addresses': 'localhost:8080', - 'test_duration-secs': -1, + 'test_duration_secs': -1, 'num_channels_per_server': 1, 'num_stubs_per_channel': 1, 'metrics_port': '8081'} @@ -118,8 +118,8 @@ function main() { })); start(server_addresses, test_cases, argv.num_channels_per_server, argv.num_stubs_per_channel, argv.metrics_port); - if (argv['test_duration-secs'] > -1) { - setTimeout(stop, argv['test_duration-secs'] * 1000); + if (argv.test_duration_secs > -1) { + setTimeout(stop, argv.test_duration_secs * 1000); } } |