Skip to content

test: add integration tests for on_demand VHDS with request bodies#42248

Merged
botengyao merged 1 commit intoenvoyproxy:mainfrom
wdauchy:vhds-test
Dec 3, 2025
Merged

test: add integration tests for on_demand VHDS with request bodies#42248
botengyao merged 1 commit intoenvoyproxy:mainfrom
wdauchy:vhds-test

Conversation

@wdauchy
Copy link
Copy Markdown
Contributor

@wdauchy wdauchy commented Nov 25, 2025

Commit Message:
Add integration tests verifying VHDS on-demand updates work correctly with request bodies for both HTTP/1.1 and HTTP/2. The tests use HttpProtocolIntegrationTest parameterization to automatically run for both downstream protocols (HTTP/1.1 and HTTP/2), ensuring the fix for #17891 works correctly across different HTTP protocol versions.

Additional Description:

Tests verify that:

  • Request bodies are preserved when triggering on-demand VHDS updates
  • Stream recreation works correctly after VHDS updates complete
  • Both HTTP/1.1 and HTTP/2 protocols handle bodies correctly

The test instantiation uses getProtocolTestParamsWithoutHTTP3() which returns parameter combinations for both HTTP/1.1 and HTTP/2 downstream protocols, so each test runs multiple times (once per protocol combination).

Complements the unit tests in d39afea and provides end-to-end verification for #17891.

followup of #42158
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

@repokitteh-read-only
Copy link
Copy Markdown

As a reminder, PRs marked as draft will not be automatically assigned reviewers,
or be handled by maintainer-oncall triage.

Please mark your PR as ready when you want it to be reviewed!

🐱

Caused by: #42248 was opened by wdauchy.

see: more, trace.

@wdauchy wdauchy force-pushed the vhds-test branch 29 times, most recently from e4672b7 to ed732e5 Compare November 26, 2025 15:57
@wdauchy wdauchy force-pushed the vhds-test branch 5 times, most recently from 0e738ed to 9ac4ca9 Compare November 27, 2025 12:17
@wdauchy wdauchy marked this pull request as ready for review November 27, 2025 12:45
Copy link
Copy Markdown
Member

@botengyao botengyao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for adding the integration test!

/wait

Add integration tests verifying VHDS on-demand updates work correctly
with request bodies for both HTTP/1.1 and HTTP/2. The tests use
HttpProtocolIntegrationTest parameterization to automatically run
for both downstream protocols (HTTP/1.1 and HTTP/2), ensuring the fix
for envoyproxy#17891 works correctly across different HTTP protocol versions.

Tests verify that:
- Request bodies are preserved when triggering on-demand VHDS updates
- Stream recreation works correctly after VHDS updates complete
- Both HTTP/1.1 and HTTP/2 protocols handle bodies correctly

The test instantiation uses getProtocolTestParamsWithoutHTTP3() which
returns parameter combinations for both HTTP/1.1 and HTTP/2 downstream
protocols, so each test runs multiple times (once per protocol combination).

Complements the unit tests in d39afea
and provides end-to-end verification for envoyproxy#17891.

Risk Level: Low
Testing: New integration tests parameterized for HTTP/1.1 and HTTP/2

Signed-off-by: William Dauchy <william.dauchy@datadoghq.com>
@botengyao botengyao merged commit c352e1c into envoyproxy:main Dec 3, 2025
25 checks passed
grnmeira pushed a commit to grnmeira/envoy that referenced this pull request Mar 20, 2026
…nvoyproxy#42248)

Commit Message:
Add integration tests verifying VHDS on-demand updates work correctly
with request bodies for both HTTP/1.1 and HTTP/2. The tests use
HttpProtocolIntegrationTest parameterization to automatically run for
both downstream protocols (HTTP/1.1 and HTTP/2), ensuring the fix for
envoyproxy#17891 works correctly across different HTTP protocol versions.

Additional Description:

Tests verify that:
- Request bodies are preserved when triggering on-demand VHDS updates
- Stream recreation works correctly after VHDS updates complete
- Both HTTP/1.1 and HTTP/2 protocols handle bodies correctly

The test instantiation uses getProtocolTestParamsWithoutHTTP3() which
returns parameter combinations for both HTTP/1.1 and HTTP/2 downstream
protocols, so each test runs multiple times (once per protocol
combination).

Complements the unit tests in d39afea
and provides end-to-end verification for envoyproxy#17891.

followup of envoyproxy#42158
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional [API
Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):]

Signed-off-by: William Dauchy <william.dauchy@datadoghq.com>
Signed-off-by: Gustavo <grnmeira@gmail.com>
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