tzssangglass commented on code in PR #7750:
URL: https://github.com/apache/apisix/pull/7750#discussion_r950848127
##########
t/plugin/limit-count3.t:
##########
@@ -224,3 +224,64 @@ passed
}
--- response_body
[200,200]
+
+
+
+=== TEST 7: set another route with the same conf
+--- config
+ location /t {
+ content_by_lua_block {
+ local t = require("lib.test_admin").test
+ local code, body = t('/apisix/admin/routes/2',
+ ngx.HTTP_PUT,
+ [[{
+ "uri": "/hello1",
+ "plugins": {
+ "limit-count": {
+ "count": 2,
+ "time_window": 60
+ }
Review Comment:
but the `time_window = 60` in TEST 7 is different form the `time_window =
61` TEST 5?
It seems that TEST 5&7 should test the same conf and not affect each other.
--
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]