moonming opened a new pull request, #14235:
URL: https://github.com/apache/apisix/pull/14235
### Description
#14157 removed plugin configuration values from the `init plugin-level conf
version` log to avoid exposing sensitive configuration. Two tests introduced by
#14192 still expect the removed `, from {...}` payload, causing deterministic
failures in `t/plugin/http-logger.t` TEST 31 and
`t/plugin/elasticsearch-logger2.t` TEST 26.
This PR updates both assertions to check only that a numeric plugin
configuration version is generated. The existing assertions for successful log
processing and the absence of JSON encoding/log-phase errors remain unchanged,
preserving JSON null regression coverage without requiring configuration values
in logs.
#### Which issue(s) this PR fixes:
N/A
### Checklist
- [x] I have explained the need for this PR and the problem it solves
- [x] I have explained the changes or the new features added to this PR
- [x] I have added or updated tests corresponding to this change
- [x] Documentation is not required for this test-only change
- [x] I have verified that this change is backward compatible because it
does not change production code
--
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]