mirror of https://github.com/grpc/grpc.git
parent
83a9a6554d
commit
73b6a3b63b
6 changed files with 123 additions and 26 deletions
@ -0,0 +1,97 @@ |
||||
{ |
||||
"dockerImages": { |
||||
"grpc_stress_cxx_opt" : { |
||||
"buildScript": "tools/jenkins/build_interop_stress_image.sh", |
||||
"dockerFileDir": "grpc_interop_stress_cxx", |
||||
"buildType": "opt" |
||||
}, |
||||
"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": [ |
||||
"/var/local/git/grpc/tools/gcp/stress_test/run_node.sh", |
||||
"node", |
||||
"/var/local/git/grpc/src/node/stress/stress_client.js" |
||||
], |
||||
"metricsClientCmd": [ |
||||
"/var/local/git/grpc/tools/gcp/stress_test/run_node.sh", |
||||
"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": { |
||||
"cxx_server_opt": { |
||||
"baseTemplate": "default", |
||||
"stressServerCmd": ["/var/local/git/grpc/bins/opt/interop_server"] |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"testMatrix": { |
||||
"serverPodSpecs": { |
||||
"stress-server-cxx-opt": { |
||||
"serverTemplate": "cxx_server_opt", |
||||
"dockerImage": "grpc_stress_cxx_opt", |
||||
"numInstances": 1 |
||||
} |
||||
}, |
||||
|
||||
"clientPodSpecs": { |
||||
"stress-client-node": { |
||||
"clientTemplate": "node_client", |
||||
"dockerImage": "grpc_stress_node", |
||||
"numInstances": 20, |
||||
"serverPodSpec": "stress-server-cxx-opt" |
||||
} |
||||
} |
||||
}, |
||||
|
||||
"globalSettings": { |
||||
"buildDockerImages": true, |
||||
"pollIntervalSecs": 60, |
||||
"testDurationSecs": 7200, |
||||
"kubernetesProxyPort": 8006, |
||||
"datasetIdNamePrefix": "stress_test_node_cxx_opt", |
||||
"summaryTableId": "summary", |
||||
"qpsTableId": "qps", |
||||
"podWarmupSecs": 60 |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue