aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/performance
diff options
context:
space:
mode:
authorGravatar Michael Darakananda <pongad@google.com>2017-10-03 17:30:04 +1100
committerGravatar Michael Darakananda <pongad@google.com>2017-10-03 17:30:04 +1100
commitb268629245788bee994e96cb585a3ab2c78bafa8 (patch)
tree9acc6d6d3cc4ceb899b411e1ea8ba81c0ddd1261 /tools/run_tests/performance
parentf9a39ac7e227cc44091984631ec2e923c152f969 (diff)
php: fix scenario_config command
The flag "-c" should be in an argument.
Diffstat (limited to 'tools/run_tests/performance')
-rw-r--r--tools/run_tests/performance/scenario_config.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/run_tests/performance/scenario_config.py b/tools/run_tests/performance/scenario_config.py
index 5019358ab3..6c81420be3 100644
--- a/tools/run_tests/performance/scenario_config.py
+++ b/tools/run_tests/performance/scenario_config.py
@@ -809,7 +809,7 @@ class PhpLanguage:
def worker_cmdline(self):
if self.use_protobuf_c_extension:
- return ['tools/run_tests/performance/run_worker_php.sh -c']
+ return ['tools/run_tests/performance/run_worker_php.sh', '-c']
return ['tools/run_tests/performance/run_worker_php.sh']
def worker_port_offset(self):
@@ -819,14 +819,14 @@ class PhpLanguage:
php_extension_mode='php_protobuf_php_extension'
if self.use_protobuf_c_extension:
php_extension_mode='php_protobuf_c_extension'
-
+
yield _ping_pong_scenario(
- '%s_to_cpp_protobuf_sync_unary_ping_pong' % php_extension_mode,
+ '%s_to_cpp_protobuf_sync_unary_ping_pong' % php_extension_mode,
rpc_type='UNARY', client_type='SYNC_CLIENT', server_type='SYNC_SERVER',
server_language='c++', async_server_threads=1)
yield _ping_pong_scenario(
- '%s_to_cpp_protobuf_sync_streaming_ping_pong' % php_extension_mode,
+ '%s_to_cpp_protobuf_sync_streaming_ping_pong' % php_extension_mode,
rpc_type='STREAMING', client_type='SYNC_CLIENT', server_type='SYNC_SERVER',
server_language='c++', async_server_threads=1)