This is an automated email from the ASF dual-hosted git repository. markusthoemmes pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-performance.git
commit c32108ad0c7de124711a7e52dd706658e8c3b72a Author: Markus Thoemmes <[email protected]> AuthorDate: Mon Apr 24 11:01:16 2017 +0200 Override default limits to effectively disable them --- deploy.sh | 3 ++- test.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 7083193..56f755d 100755 --- a/deploy.sh +++ b/deploy.sh @@ -12,7 +12,8 @@ git clone --depth 1 https://github.com/openwhisk/openwhisk.git pip install --user ansible==2.1.2.0 cd openwhisk/ansible -ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=openwhisk -e docker_registry=docker.io/" +LIMITS='{"limits":{"actions":{"invokes":{"perMinute":999999,"concurrent":999999,"concurrentInSystem":999999}},"triggers":{"fires":{"perMinute":999999}}}}' +ANSIBLE_CMD="ansible-playbook -i environments/local -e docker_image_prefix=openwhisk -e docker_registry=docker.io/ -e $LIMITS" $ANSIBLE_CMD setup.yml $ANSIBLE_CMD prereq.yml diff --git a/test.sh b/test.sh index 305e891..30cbba7 100755 --- a/test.sh +++ b/test.sh @@ -11,4 +11,4 @@ echo "Running noop action once to assert an intact system" curl -u "$(cat openwhisk/ansible/files/auth.guest)" "172.17.0.1:10001/api/v1/namespaces/_/actions/$action?blocking=true" -XPOST # run performance harness -docker run --rm markusthoemmes/loadtest loadtest -H "Authorization: basic MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A=" "http://172.17.0.1:10001/api/v1/namespaces/_/actions/$action?blocking=true" -m POST -n 1000 \ No newline at end of file +docker run --rm markusthoemmes/loadtest loadtest -n 1000 -H "Authorization: basic MjNiYzQ2YjEtNzFmNi00ZWQ1LThjNTQtODE2YWE0ZjhjNTAyOjEyM3pPM3haQ0xyTU42djJCS0sxZFhZRnBYbFBrY2NPRnFtMTJDZEFzTWdSVTRWck5aOWx5R1ZDR3VNREdJd1A=" "http://172.17.0.1:10001/api/v1/namespaces/_/actions/$action?blocking=true" -m POST \ No newline at end of file -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
