sevensolutions commented on PR #10278:
URL: https://github.com/apache/apisix/pull/10278#issuecomment-1751685603
This is the complete test:
```
=== TEST 13: bootstrap acl
--- config
location /v1/acl {
proxy_pass http://127.0.0.1:8502;
}
--- request eval
"PUT /v1/acl/bootstrap\n" . "{\"BootstrapSecret\":
\"2b778dd9-f5f1-6f29-b4b4-9a5fa948757a\"}"
--- error_code eval
qr/200|403/
```
Yes the result alternates. It returns 200 the first time but every re-run
will return 403 because the ACL system can only be bootstrapped once. And
because testing the ACL bootstrap procedure of consul is not the case here, I
would say both retrurn codes are fine.
--
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]