rabbah commented on issue #4496: Settle throttle before running the API GW Tests
URL: 
https://github.com/apache/incubator-openwhisk/pull/4496#issuecomment-500827440
 
 
   i would not bother and implement a namespace change - it's just another hack.
   
   the 409 response from the controller provides useful information to back off 
the test and retry correctly:
   
   ```
     def tooManyRequests(count: Int, allowed: Int) =
       s"Too many requests in the last minute (count: $count, allowed: 
$allowed)."
   
     /** Standard message for too many concurrent activation requests within a 
time window. */
     def tooManyConcurrentRequests(count: Int, allowed: Int) =
       s"Too many concurrent requests in flight (count: $count, allowed: 
$allowed)."
   ```
   
   thread.sleep and using another namespace are just piling on technical debt 
imo.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to