ningyougang commented on issue #2998: Increase limits.invocationsPerMinute 
default value
URL: 
https://github.com/apache/incubator-openwhisk/pull/2998#issuecomment-346733635
 
 
   I added some more logs on in `WskRest.scala`'s `def invokeAction(...)`
   ```
      ....
       if (!isStatusCodeExpected(expectedExitCode, r.statusCode.intValue)) {
         if (blocking || result) {
           println("(blocking||result)========");
           println("invokeAction->msg:"+r.respData);
           println("invokerAction->statusCode:"+r.statusCode);
           println("OK.intValue:"+OK.intValue);
           validateStatusCode(OK.intValue, r.statusCode.intValue)
         }
   ```
   And run tests case again. some part of the logs as below
   ```
       Starting test Wsk api should verify API with http response type at 
2017-11-24 12:02:48.628
   
   whisk.core.cli.test.ApiGwRestTests > Wsk api should verify API with http 
response type STANDARD_OUT
       Action invokes within last minute: 58
       (blocking||result)========
       invokeAction->msg:{
         "error": "Too many requests in the last minute (count: 70, allowed: 
60).",
         "code": 2126
       }
       invokerAction->statusCode:429 Too Many Requests
       OK.intValue:200
       Action invokes within last minute: 59
   
   whisk.core.cli.test.ApiGwRestTests > Wsk api should verify API with http 
response type FAILED
       org.scalatest.exceptions.TestFailedException: 429 was not equal to 200
   ```
   
   It seems need to change the default value from `60` to `70`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to