Firstsawyou opened a new issue #2636:
URL: https://github.com/apache/apisix/issues/2636


   ### Issue description
   
   In writing test cases, when the `_M.uri()` method in `t/lib/server.lua` is 
used, the order of output request headers is unstable, resulting in test cases 
sometimes failing. We need to sort the headers obtained by `local headers = 
ngx.req.get_headers()` to make it stable.
   
   Need to modify the code: 
https://github.com/apache/apisix/blob/master/t/lib/server.lua#L103-L106
   Modification method reference:: 
https://github.com/apache/apisix/blob/master/t/plugin/proxy-mirror.t#L40-L49


----------------------------------------------------------------
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]


Reply via email to