aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-06-14 16:07:59 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-06-14 16:07:59 -0700
commit9627e2c5f7f14d78c40a231516f527a5b38e6b8f (patch)
tree5737fcd0873fc63f3655646886482aa2443a3fc0
parent7ed39a1ef165d297c681acb4170af2c89c9b6743 (diff)
Fix a typo in php stress client that was causing the php client to ignore any explicitly passed port
-rw-r--r--src/php/tests/interop/stress_client.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/php/tests/interop/stress_client.php b/src/php/tests/interop/stress_client.php
index 419ef5be43..f9cfe8aba5 100644
--- a/src/php/tests/interop/stress_client.php
+++ b/src/php/tests/interop/stress_client.php
@@ -102,7 +102,7 @@ if (empty($raw_args['server_addresses'])) {
}
$args['metrics_port'] = empty($raw_args['metrics_port']) ?
- '8081' : $args['metrics_port'];
+ '8081' : $raw_args['metrics_port'];
$args['test_duration_secs'] = empty($raw_args['test_duration_secs']) ||
$raw_args['test_duration_secs'] == -1 ?