You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/09/05 11:27:12 UTC
[GitHub] [apisix] spacewander commented on a change in pull request #4977: feat: allow route to inherit hosts from service
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org