membphis edited a comment on issue #976: Added password support for plugin limit-count-redis URL: https://github.com/apache/incubator-apisix/pull/976#issuecomment-569845631 @totemofwolf here is the correct test cases. It works fine on my local machine. ```shell + prove t/plugin/limit-count-redis.t t/plugin/limit-count-redis.t .. ok All tests successful. Files=1, Tests=36, 6 wallclock secs ( 0.03 usr 0.00 sys + 0.76 cusr 0.99 csys = 1.78 CPU) Result: PASS ``` ``` === TEST 7: up the limit for TEST 6 --- pipelined_requests eval ["GET /hello_new", "GET /hello_new", "GET /hello_new", "GET /hello_new"] --- error_code eval [500, 500, 500, 500] === TEST 8: up the limit for TEST 6 --- request GET /hello_new --- error_code eval 500 --- response_body {"1":"ERR invalid password","error_msg":"failed to limit count: "} --- error_log failed to limit req: ERR invalid password ```
---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services