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 7b6dccf5b020bedecbc9381be0020af69b412776 Author: Markus Thoemmes <markus.thoem...@de.ibm.com> AuthorDate: Tue Apr 25 11:06:28 2017 +0200 Fix shell include issue --- tests/latency.sh | 5 +++-- tests/throughput.sh | 3 ++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/latency.sh b/tests/latency.sh index 3078be9..41f40ea 100755 --- a/tests/latency.sh +++ b/tests/latency.sh @@ -1,15 +1,16 @@ #!/bin/sh set -e +currentDir="$(dirname "$0")" # Host to use. Needs to include the protocol. host=$1 # Credentials to use for the test. USER:PASS format. credentials=$2 # How many samples to create by the test. Default: 10000 -samples=${3:-10000} # default value of 10000 +samples=${3:-10000} action="noopLatency" -./create.sh "$host" "$credentials" "$action" +"$currentDir/create.sh" "$host" "$credentials" "$action" # run latency tests encodedAuth=$(echo "$credentials" | base64 -w 0) diff --git a/tests/throughput.sh b/tests/throughput.sh index bf002c3..743e8a7 100755 --- a/tests/throughput.sh +++ b/tests/throughput.sh @@ -1,5 +1,6 @@ #!/bin/sh set -e +currentDir="$(dirname "$0")" # Host to use. Needs to include the protocol. host=$1 @@ -12,7 +13,7 @@ concurrency=$3 samples=${4:-10000} action="noopThroughput" -./create.sh "$host" "$credentials" "$action" +"$currentDir/create.sh" "$host" "$credentials" "$action" # run throughput tests encodedAuth=$(echo "$credentials" | base64 -w 0) -- To stop receiving notification emails like this one, please contact "commits@openwhisk.apache.org" <commits@openwhisk.apache.org>.