aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/run_tests/stress_test/configs/node.json
diff options
context:
space:
mode:
authorGravatar Sree Kuchibhotla <sreek@google.com>2016-04-04 14:08:02 -0700
committerGravatar Sree Kuchibhotla <sreek@google.com>2016-04-04 16:42:40 -0700
commit7a05436ac1a871719fb636c35b26e6f8592a2620 (patch)
tree0f5c88ae36149a60b40baba39750876e93a470d4 /tools/run_tests/stress_test/configs/node.json
parentb0d4add3a0e95f12ca4d4086fdc790b5c84d5ade (diff)
New config for node. Made some changes to support node config
Diffstat (limited to 'tools/run_tests/stress_test/configs/node.json')
-rw-r--r--tools/run_tests/stress_test/configs/node.json84
1 files changed, 84 insertions, 0 deletions
diff --git a/tools/run_tests/stress_test/configs/node.json b/tools/run_tests/stress_test/configs/node.json
new file mode 100644
index 0000000000..525f9031b3
--- /dev/null
+++ b/tools/run_tests/stress_test/configs/node.json
@@ -0,0 +1,84 @@
+{
+ "dockerImages": {
+ "grpc_stress_node" : {
+ "buildScript": "tools/jenkins/build_interop_stress_image.sh",
+ "dockerFileDir": "grpc_interop_stress_node"
+ }
+ },
+
+ "clientTemplates": {
+ "baseTemplates": {
+ "default": {
+ "wrapperScriptPath": "/var/local/git/grpc/tools/gcp/stress_test/run_client.py",
+ "pollIntervalSecs": 60,
+ "clientArgs": {
+ "num_channels_per_server":5,
+ "num_stubs_per_channel":10,
+ "test_cases": "empty_unary:1,large_unary:1,client_streaming:1,server_streaming:1,empty_stream:1",
+ "metrics_port": 8081
+ },
+ "metricsPort": 8081,
+ "metricsArgs": {
+ "metrics_server_address": "localhost:8081",
+ "total_only": "true"
+ }
+ }
+ },
+ "templates": {
+ "node_client": {
+ "baseTemplate": "default",
+ "stressClientCmd": "node /var/local/git/grpc/src/node/stress/stress_client.js",
+ "metricsClientCmd": "node /var/local/git/grpc/src/node/stress/metrics_client.js"
+ }
+ }
+ },
+
+ "serverTemplates": {
+ "baseTemplates":{
+ "default": {
+ "wrapperScriptPath": "/var/local/git/grpc/tools/gcp/stress_test/run_server.py",
+ "serverPort": 8080,
+ "serverArgs": {
+ "port": 8080
+ }
+ }
+ },
+ "templates": {
+ "node_server": {
+ "baseTemplate": "default",
+ "stressServerCmd": "node /var/local/git/grpc/src/node/interop/interop_server.js"
+ }
+ }
+ },
+
+ "testMatrix": {
+ "serverPodSpecs": {
+ "node-stress-server": {
+ "serverTemplate": "node_server",
+ "dockerImage": "grpc_stress_node",
+ "numInstances": 1
+ }
+ },
+
+ "clientPodSpecs": {
+ "node-stress-client": {
+ "clientTemplate": "node_client",
+ "dockerImage": "grpc_stress_node",
+ "numInstances": 1,
+ "serverPodSpec": "node-stress-server"
+ }
+ }
+ },
+
+ "globalSettings": {
+ "buildDockerImages": false,
+ "pollIntervalSecs": 10,
+ "testDurationSecs": 60,
+ "kubernetesProxyPort": 8001,
+ "datasetIdNamePrefix": "stress_test_node",
+ "summaryTableId": "summary",
+ "qpsTableId": "qps",
+ "podWarmupSecs": 10
+ }
+}
+