This is an automated email from the ASF dual-hosted git repository. markusthoemmes pushed a commit to branch wrk-load in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-performance.git
commit a1b5f167ae22ebd3d85ad9e3e4442bfdfbc385c6 Author: Markus Thoemmes <markus.thoem...@de.ibm.com> AuthorDate: Wed Sep 13 11:40:24 2017 +0200 Define right location of post.lua --- tests/throughput.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/throughput.sh b/tests/throughput.sh index 6bf14cf..f23097b 100755 --- a/tests/throughput.sh +++ b/tests/throughput.sh @@ -1,6 +1,6 @@ #!/bin/sh set -e -currentDir="$(dirname "$0")" +currentDir="$(cd "$(dirname "$0")"; pwd)" # Host to use. Needs to include the protocol. host=$1 @@ -20,11 +20,12 @@ action="noopThroughput" # run throughput tests encodedAuth=$(echo "$credentials" | base64 | tr -d '\n') -docker run --pid=host --userns=host --rm -v "$(pwd)":/data williamyeh/wrk \ +docker run --pid=host --userns=host --rm -v "$currentDir":/data williamyeh/wrk \ --threads "$threads" \ --connections "$concurrency" \ --duration "$duration" \ --header "Authorization: basic $encodedAuth" \ "$host/api/v1/namespaces/_/actions/$action?blocking=true" \ --latency \ + --timeout 10s \ --script post.lua \ No newline at end of file -- To stop receiving notification emails like this one, please contact "commits@openwhisk.apache.org" <commits@openwhisk.apache.org>.