You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ho...@apache.org on 2017/06/02 03:33:14 UTC

[incubator-openwhisk-cli] branch master updated: Add 30 second delay between running API gateway test suites (#52)

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

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

The following commit(s) were added to refs/heads/master by this push:
       new  889a833   Add 30 second delay between running API gateway test suites (#52)
889a833 is described below

commit 889a83307a0dff23d21e8010811ee41e485404c9
Author: Vincent <sh...@us.ibm.com>
AuthorDate: Thu Jun 1 23:33:12 2017 -0400

    Add 30 second delay between running API gateway test suites (#52)
    
    Since openwhisk throttles any given user from issuing too many
    requests in a rolling 1 minute period, we need to add the time deply
    between running any two api gateway test suites.
---
 tools/travis/install_openwhisk.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/tools/travis/install_openwhisk.sh b/tools/travis/install_openwhisk.sh
index e012b1a..b28e2df 100755
--- a/tools/travis/install_openwhisk.sh
+++ b/tools/travis/install_openwhisk.sh
@@ -35,4 +35,9 @@ cp $TRAVIS_BUILD_DIR/wsk $WHISKDIR/bin
 # Run the test cases under openwhisk to ensure the quality of the binary.
 cd $WHISKDIR
 ./gradlew :tests:test -Dtest.single=Wsk*Tests*
-./gradlew :tests:test -Dtest.single=ApiGw*Tests*
\ No newline at end of file
+sleep 30
+./gradlew tests:test -Dtest.single=*ApiGwRoutemgmtActionTests*
+sleep 30
+./gradlew tests:test -Dtest.single=*ApiGwTests*
+sleep 30
+./gradlew tests:test -Dtest.single=*ApiGwEndToEndTests*
\ No newline at end of file

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