spacewander commented on a change in pull request #4977:
URL: https://github.com/apache/apisix/pull/4977#discussion_r702409735



##########
File path: t/router/radixtree-host-uri2.t
##########
@@ -376,3 +376,39 @@ GET /server_port
 Host: test.com
 --- no_error_log
 [error]
+
+
+
+=== TEST 14: inherit hosts from services
+--- yaml_config eval: $::yaml_config
+--- apisix_yaml
+services:
+  - id: 1
+    hosts:
+      - bar.com

Review comment:
       Yes, we test with unmatched. If the host doesn't take effect, the route 
will match and the response body is "hello1 world".




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


Reply via email to