route: fast return when route matches failed#17769
route: fast return when route matches failed#17769mattklein123 merged 5 commits intoenvoyproxy:mainfrom
Conversation
Signed-off-by: He Jie Xu <hejie.xu@intel.com>
|
/retest |
|
Retrying Azure Pipelines: |
Signed-off-by: He Jie Xu <hejie.xu@intel.com>
|
The changes lgtm. Do you think it would be possible to add tests for |
Signed-off-by: He Jie Xu <hejie.xu@intel.com>
I added a test. Although I can't assert each check is done or not(since they are class static method), but I test the case when all the conditions are matched, and the case one of them doesn't match. |
|
Thanks this LGTM. Did you verify that all of these new branches have code coverage? /wait-any |
|
Forget test the query_parameter, so added it |
yes, I verified that
Do you mean all those fast return branch? the test I added test the case one of them doesn't match. so it should cover all of those fast return branches. |
* main: (32 commits) Stop processing pending H/2 frames if connection transitioned to the closed state http2: limit use of deferred resets in the http2 codec to server-side connections Abort filter chain iteration on local reply Reject or strip fragment from request URI ext-authz: merge duplicate headers from client request in check request common: introduce stable logger /w examples in DNS (envoyproxy#17772) route: fast return when route matches failed (envoyproxy#17769) owners: add owners for dubbo proxy network filter (envoyproxy#17820) config/router/tcp_proxy/options: v2 API, boosting and --bootstrap-version CLI removal. (envoyproxy#17724) coverage: revert the limit http/cache to 92.6. (envoyproxy#17817) network: rename SocketAddressProvider as ConnectionInfoProvider (envoyproxy#17717) test: bumping coverage (envoyproxy#17757) conn_pool: Minor cleanups to ConnPoolBaseImpl (envoyproxy#17710) Split VaryHeader into VaryAllowList and VaryUtils to organize vary-related logic (envoyproxy#17728) ext_proc: Make tests more resilient to IPv6 support (envoyproxy#17784) Remove invlaid backquote from doc (envoyproxy#17797) rocketmq: move to contrib (envoyproxy#17796) kafka: upstream kafka facade in mesh-filter (envoyproxy#17783) ecds: create shared base class for DynamicFilterConfigProviderImpl (envoyproxy#17735) Change log level from debug to trace (envoyproxy#17774) ... Signed-off-by: Michael Puncel <mpuncel@squareup.com>
Signed-off-by: He Jie Xu hejie.xu@intel.com
Commit Message: route: fast return when route matches failed
Additional Description:
Risk Level: low
Testing: unit-test added
Docs Changes: n/a
Release Notes: n/a