You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when I execute tests in my local environment,somtimes may fail.
How to Reproduce
=== RUN TestRoute_With_Limit_Plugin_By_Consumer
printer.go:54: GET http://127.0.0.1:9080/hello
printer.go:54: PUT http://127.0.0.1:9000/apisix/admin/routes/r1
printer.go:54: GET http://127.0.0.1:9000/apisix/admin/consumers/jack
printer.go:54: PUT http://127.0.0.1:9000/apisix/admin/consumers
printer.go:54: PUT http://127.0.0.1:9000/apisix/admin/consumers
printer.go:54: GET http://127.0.0.1:9080/hello
printer.go:54: GET http://127.0.0.1:9080/hello
printer.go:54: GET http://127.0.0.1:9080/hello
reporter.go:23:
Error Trace: reporter.go:23
chain.go:21
response.go:585
response.go:151
base.go:184
route_with_limit_plugin_test.go:302
Error:
expected status equal to:
"503 Service Unavailable"
but got:
"200 OK"
Test: TestRoute_With_Limit_Plugin_By_Consumer
Bug report
when I execute tests in my local environment,somtimes may fail.
How to Reproduce
Additional context
In this case, the
time_window
of thelimit-count
is2
, it should be set larger so that it can avoid the failure.The text was updated successfully, but these errors were encountered: