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/13 09:02:10 UTC

[incubator-openwhisk-performance] 01/02: Make the throughput.sh executable on both Mac and Linux

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 4cfcd3cb3bb9bdd0ff64c05f28d2ea70197b6f90
Author: Markus Thoemmes <ma...@de.ibm.com>
AuthorDate: Wed Sep 13 11:01:50 2017 +0200

    Make the throughput.sh executable on both Mac and Linux
---
 tests/throughput.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/throughput.sh b/tests/throughput.sh
index 1f4c971..6bf14cf 100755
--- a/tests/throughput.sh
+++ b/tests/throughput.sh
@@ -19,8 +19,8 @@ action="noopThroughput"
 "$currentDir/create.sh" "$host" "$credentials" "$action"
 
 # run throughput tests
-encodedAuth=$(echo "$credentials" | base64 -w0)
-docker run --pid=host --userns=host --rm -v $(pwd):/data williamyeh/wrk \
+encodedAuth=$(echo "$credentials" | base64 | tr -d '\n')
+docker run --pid=host --userns=host --rm -v "$(pwd)":/data williamyeh/wrk \
   --threads "$threads" \
   --connections "$concurrency" \
   --duration "$duration" \

-- 
To stop receiving notification emails like this one, please contact
"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>.