ningyougang commented on code in PR #517:
URL: https://github.com/apache/openwhisk-cli/pull/517#discussion_r950639632
##########
tools/travis/test_openwhisk.sh:
##########
@@ -86,6 +86,7 @@ cd $OPENWHISK_HOME
#./tools/travis/setup.sh
# Fire up the cluster
+echo 'limit_invocations_per_minute: 120' >>
$OPENWHISK_HOME/ansible/environments/local/group_vars/all
Review Comment:
Due to travis VM network is not stable, so added this configuration make
below relative test case stable
```
command will retry to due to network error: exit code = 1
stdout:
stderr: error: Unable to delete API: Too many requests in the last
minute (count: 66, allowed: 60). (code 717d6491a6785e7c2059b60135880a9e)
command will retry to due to network error: exit code = 1
stdout:
stderr: error: Unable to delete API: API deletion failure: API
'/CLI_APIGWTEST11_bp' does not exist.
org.apache.openwhisk.core.cli.test.ApiGwCliTests > Cli Wsk api creation with
path parameters with swagger should verify delete basepath/path FAILED
org.scalatest.exceptions.TestFailedException:
/home/travis/gopath/src/github.com/apache/openwhisk/bin/wsk -i --apihost
172.17.0.1 --apiversion v1 api create --auth
23bc46b1-71f6-4ed5-8c54-816aa4f8c502:123zO3xZCLrMN6v2BKK1dXYFpXlPkccOFqm12CdAsMgRU4VrNZ9lyGVCGuMDGIwP
/CLI_APIGWTEST11_bp /path get CLI_APIGWTEST11_action --apiname CLI_APIGWTEST11
API Name
error: Unable to create API: Too many requests in the last minute
(count: 64, allowed: 60). (code aa221bc7c98c15b86614fd28bae0c013)
exit code: 1 was not equal to 0
at
org.scalatest.MatchersHelper$.indicateFailure(MatchersHelper.scala:343)
at org.scalatest.Matchers$AnyShouldWrapper.shouldBe(Matchers.scal
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]