aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/node/stress
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-04-06 09:43:28 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-04-06 09:43:28 -0700
commit54fa9e413287587ddd609306cfb0e4012dd72335 (patch)
tree12cff521132197032f8bf104a9fdc773f69cdd45 /src/node/stress
parent5d27e8fcaba5b543f69865cfd4fa6ab0a7516770 (diff)
address code review comments
Diffstat (limited to 'src/node/stress')
-rw-r--r--src/node/stress/stress_client.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/node/stress/stress_client.js b/src/node/stress/stress_client.js
index 8c76f0c279..6054d3a253 100644
--- a/src/node/stress/stress_client.js
+++ b/src/node/stress/stress_client.js
@@ -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);
}
}