spacewander commented on a change in pull request #2629:
URL: https://github.com/apache/apisix/pull/2629#discussion_r517732526
##########
File path: t/plugin/proxy-mirror.t
##########
@@ -32,10 +32,11 @@ add_block_preprocessor(sub {
server_tokens off;
location / {
- content_by_lua_block {
+ content_by_lua_block {
local core = require("apisix.core")
- local headers_tab = ngx.req.get_headers()
+ core.log.info("upstream_http_version: ",
ngx.req.http_version())
+ local headers_tab = ngx.req.get_headers()
for k, v in pairs(headers_tab) do
Review comment:
I run the tests locally. It seems the order of `headers_tab` is
unstable? We need to sort it to make the test stable.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]