monkeyDluffy6017 commented on code in PR #9345:
URL: https://github.com/apache/apisix/pull/9345#discussion_r1174903027
##########
t/plugin/forward-auth.t:
##########
@@ -206,6 +206,42 @@ property "request_method" validation failed: matches none
of the enum values
"uri": "/ping"
}]],
},
+ {
+ url = "/apisix/admin/routes/4",
+ data = [[{
+ "plugins": {
+ "forward-auth": {
+ "uri": "http://127.0.0.1:1964/auth",
Review Comment:
Using the nonexistent port is very unstable, could you try to use the
`serverless-pre-function` plugin and `core.response.exit(444)` to mock the
unavailable auth server
--
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]