aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/performance
diff options
context:
space:
mode:
authorGravatar murgatroid99 <mlumish@google.com>2018-04-24 16:58:58 -0700
committerGravatar murgatroid99 <mlumish@google.com>2018-04-24 16:58:58 -0700
commit5f3aa5ca0b97d05cc0b81efb149af1f2a5b8d741 (patch)
tree2972493128b9e7838f4f4cc222840d54e0132bac /tools/run_tests/performance
parent215b6555c17b32fbf607aa0045db96d54949ce91 (diff)
Fix sanity
Diffstat (limited to 'tools/run_tests/performance')
-rw-r--r--tools/run_tests/performance/run_worker_node.sh2
-rw-r--r--tools/run_tests/performance/scenario_config.py4
2 files changed, 4 insertions, 2 deletions
diff --git a/tools/run_tests/performance/run_worker_node.sh b/tools/run_tests/performance/run_worker_node.sh
index 0278beac23..2511522c71 100644
--- a/tools/run_tests/performance/run_worker_node.sh
+++ b/tools/run_tests/performance/run_worker_node.sh
@@ -27,4 +27,4 @@ cd "$(dirname "$0")/../../.."
# Enter the grpc-node repo root (expected to be next to grpc repo root)
cd ../grpc-node
-node -r test/fixtures/$fixture.js tools/run_tests/performance/worker.js $@
+node -r "test/fixtures/$fixture.js" tools/run_tests/performance/worker.js "$@"
diff --git a/tools/run_tests/performance/scenario_config.py b/tools/run_tests/performance/scenario_config.py
index b683f2d01d..dde299ae36 100644
--- a/tools/run_tests/performance/scenario_config.py
+++ b/tools/run_tests/performance/scenario_config.py
@@ -1150,6 +1150,7 @@ class GoLanguage:
def __str__(self):
return 'go'
+
class NodeLanguage:
def __init__(self, node_purejs=False):
@@ -1163,7 +1164,7 @@ class NodeLanguage:
def worker_port_offset(self):
if self.node_purejs:
- return 1100
+ return 1100
return 1000
def scenarios(self):
@@ -1246,6 +1247,7 @@ class NodeLanguage:
return 'node_purejs'
return 'node'
+
LANGUAGES = {
'c++': CXXLanguage(),
'csharp': CSharpLanguage(),