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 8423020576accdb96f3ac7aa61f3d4f63f4d0f95
Author: Markus Thoemmes <[email protected]>
AuthorDate: Mon Apr 24 09:27:02 2017 +0200

    Run a basic test
---
 .travis.yml | 2 +-
 test.sh     | 7 +++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 15ae264..8b65bda 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,4 +10,4 @@ install:
   - ./deploy.sh
 
 script:
-  - true
\ No newline at end of file
+  - ./test.sh
\ No newline at end of file
diff --git a/test.sh b/test.sh
new file mode 100755
index 0000000..2d8cd2e
--- /dev/null
+++ b/test.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# create a noop action
+curl -u "$(cat openwhisk/ansible/files/auth.guest)" 
"172.17.0.1:10001/api/v1/namespaces/_/actions/curlTest" -XPUT -d 
'{"namespace":"_","name":"test","exec":{"kind":"nodejs:default","code":"function
 main(){return {};}"}}' -H "Content-Type: application/json"
+
+# run the noop action
+curl -u "$(cat openwhisk/ansible/files/auth.guest)" 
"172.17.0.1:10001/api/v1/namespaces/_/actions/curlTest?blocking=true" -XPOST
\ No newline at end of file

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to