You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ma...@apache.org on 2017/09/19 07:55:13 UTC
[incubator-openwhisk-performance] 01/01: Define right location of
post.lua
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 73c9ae3b245e12eaa1e22705d02aec601838a5ca
Author: Markus Thoemmes <ma...@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..2121511 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" <co...@openwhisk.apache.org>.