You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by mh...@apache.org on 2017/05/28 19:38:28 UTC

[incubator-openwhisk-apigateway] branch master updated: adding more apigateway tests (#215)

This is an automated email from the ASF dual-hosted git repository.

mhamann pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-apigateway.git

The following commit(s) were added to refs/heads/master by this push:
       new  6bde210   adding more apigateway tests (#215)
6bde210 is described below

commit 6bde210b0b3e9634f7e843a0b18fdb6bbda14307
Author: Carlos Santana <cs...@gmail.com>
AuthorDate: Sun May 28 15:38:27 2017 -0400

    adding more apigateway tests (#215)
    
    * adding more apigateway tests
    
    * make term dumb for gradle tests
    
    * add sleep between tests suites for wsk tests
---
 tools/travis/build.sh | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/tools/travis/build.sh b/tools/travis/build.sh
index 2e6cf4d..fe80906 100755
--- a/tools/travis/build.sh
+++ b/tools/travis/build.sh
@@ -32,7 +32,7 @@ $ANSIBLE_CMD apigateway.yml -e apigateway_local_build=true
 
 cd $WHISKDIR
 
-./gradlew tools:cli:distDocker -PdockerImagePrefix=openwhisk
+TERM=dumb ./gradlew tools:cli:distDocker -PdockerImagePrefix=openwhisk
 
 cd $WHISKDIR/ansible
 
@@ -43,7 +43,13 @@ $ANSIBLE_CMD openwhisk.yml
 # Set Environment
 export OPENWHISK_HOME=$WHISKDIR
 
-# Test
+# Tests
 cd $WHISKDIR
 cat whisk.properties
-./gradlew tests:test -x :core:swift3Action:distDocker -x :core:pythonAction:distDocker -x :core:javaAction:distDocker -x :core:nodejsAction:distDocker  -x :core:actionProxy:distDocker -x :sdk:docker:distDocker -x :core:python2Action:copyFiles -x :core:python2Action:distDocker -x :tests:dat:blackbox:badaction:distDocker -x :tests:dat:blackbox:badproxy:distDocker --tests apigw.healthtests.*
+WSK_TESTS_DEPS_EXCLUDE="-x :core:swift3Action:distDocker -x :core:pythonAction:distDocker -x :core:javaAction:distDocker -x :core:nodejsAction:distDocker -x :core:actionProxy:distDocker -x :sdk:docker:distDocker -x :core:python2Action:copyFiles -x :core:python2Action:distDocker -x :tests:dat:blackbox:badaction:distDocker -x :tests:dat:blackbox:badproxy:distDocker"
+TERM=dumb ./gradlew tests:test --tests apigw.healthtests.* ${WSK_TESTS_DEPS_EXCLUDE}
+sleep 60
+TERM=dumb ./gradlew tests:test --tests whisk.core.apigw.* ${WSK_TESTS_DEPS_EXCLUDE}
+sleep 60
+TERM=dumb ./gradlew tests:test --tests whisk.core.cli.test.ApiGwTests ${WSK_TESTS_DEPS_EXCLUDE}
+

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