membphis commented on a change in pull request #3088:
URL: https://github.com/apache/apisix/pull/3088#discussion_r547041136



##########
File path: t/plugin/server-info.t
##########
@@ -133,3 +133,51 @@ integral
 [error]
 --- error_log
 timer created to report server info, interval: 60
+
+
+
+=== TEST 3: get server_info from plugin control API
+--- yaml_config
+apisix:
+    id: 123456
+plugins:
+    - server-info
+--- config
+location /t {
+    content_by_lua_block {
+        local json_decode = require("apisix.core").json.decode

Review comment:
       https://github.com/api7/test-toolkit
   
   we can use this `json` to print the sorted data. we can do this in a new PR




----------------------------------------------------------------
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:
us...@infra.apache.org


Reply via email to