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 08:57:44 UTC

[incubator-openwhisk-performance] branch wrk-load updated: Formatting changes for loadtest.sh

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


The following commit(s) were added to refs/heads/wrk-load by this push:
     new 03284b1  Formatting changes for loadtest.sh
03284b1 is described below

commit 03284b1752ab0721d2131769201f9610131a1012
Author: Markus Thoemmes <ma...@de.ibm.com>
AuthorDate: Tue Sep 19 10:57:38 2017 +0200

    Formatting changes for loadtest.sh
---
 tests/latency.sh | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/tests/latency.sh b/tests/latency.sh
index 41f40ea..cb1a213 100755
--- a/tests/latency.sh
+++ b/tests/latency.sh
@@ -13,5 +13,10 @@ action="noopLatency"
 "$currentDir/create.sh" "$host" "$credentials" "$action"
 
 # run latency tests
-encodedAuth=$(echo "$credentials" | base64 -w 0)
-docker run --rm markusthoemmes/loadtest loadtest -n "$samples" -k -m POST -H "Authorization: basic $encodedAuth" "$host/api/v1/namespaces/_/actions/$action?blocking=true"
\ No newline at end of file
+encodedAuth=$(echo "$credentials" | base64 | tr -d '\n')
+docker run --rm markusthoemmes/loadtest loadtest \
+  -n "$samples" \
+  -k \
+  -m POST \
+  -H "Authorization: basic $encodedAuth" \
+  "$host/api/v1/namespaces/_/actions/$action?blocking=true"
\ No newline at end of file

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