Skip to content

improve header matcher output - #28389

Merged
yanavlasov merged 3 commits into
envoyproxy:mainfrom
ravenblackx:mox
Jul 18, 2023
Merged

yanavlasov merged 3 commits into
envoyproxy:mainfrom
ravenblackx:mox

Conversation

@ravenblackx

@ravenblackx ravenblackx commented Jul 13, 2023 •

Copy link
Copy Markdown
Contributor

Commit Message: improve header matcher output
Additional Description: Header matchers currently don't show the headers if the match fails; this fixes that.

Before:

where the following matchers don't match any elements:
matcher #0: is equal to ("test-header2", "value2")

After:

where the following matchers don't match any elements:
matcher #0: is equal to ("test-header2", "value2")
Actual headers:
'test-header', 'value'
'another-header', 'another-value'

Risk Level: None, test-output only.
Testing: Test-only change.
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: n/a

@yanavlasov yanavlasov self-assigned this Jul 14, 2023
@yanavlasov

Copy link
Copy Markdown
Contributor

Can you add a test please? It is hard to understand otherwise what this PR is changing.

/wait-any

Signed-off-by: Raven Black <[email protected]>
Signed-off-by: Raven Black <[email protected]>
@yanavlasov
yanavlasov merged commit c2dd974 into envoyproxy:main Jul 18, 2023
@ravenblackx
ravenblackx deleted the mox branch July 18, 2023 15:46
michaelfinch added a commit to michaelfinch/envoy that referenced this pull request Jul 19, 2023
* main: (46 commits)
  buffer: Disable second flaky test on windows. (envoyproxy#28483)
  ci/github: Fix repo contexts (envoyproxy#28482)
  ci/github: Minor fix for untrusted code (envoyproxy#28480)
  ci/github: Fixes/cleanups for env and workflows (envoyproxy#28473)
  examples: Warn on `golang-network` flake (envoyproxy#28478)
  build(deps): bump node from 20.3-bullseye-slim to 20.4-bullseye-slim in /examples/shared/node (envoyproxy#28321)
  ecds: add network filter dynamic config provider (envoyproxy#28407)
  deps: bump gRPC to 1.56.2 (envoyproxy#28449)
  Adding disallowed_headers in the ext_proc header forwarding rule. (envoyproxy#28468)
  golang filter: add VirtualClusterName getter (envoyproxy#28406)
  ci/github: Further fixes/cleanups for verify (envoyproxy#28467)
  coverage: Lower `source/common/quic` to fix permafail (93.3) (envoyproxy#28471)
  deps: Bump `rules_python` -> 0.24.0 (envoyproxy#28347)
  ci/github: Fix/improve CI env (envoyproxy#28465)
  improve header matcher output (envoyproxy#28389)
  grpc-patch: fix for oss-fuzz build (envoyproxy#28409)
  ext_proc: Refactor startStream logic and fix crash issue (envoyproxy#28424)
  add switch for setting round trip time to connection info (envoyproxy#28159)
  accesslog: disable resource labels (envoyproxy#28046)
  Remove unused header (envoyproxy#28447)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants