Skip to content

Add HTTP/2 test coverage for Armeria server instrumentation#18737

Open
bhawnapannu2701 wants to merge 2 commits into
open-telemetry:mainfrom
bhawnapannu2701:test/armeria-http2-server
Open

Add HTTP/2 test coverage for Armeria server instrumentation#18737
bhawnapannu2701 wants to merge 2 commits into
open-telemetry:mainfrom
bhawnapannu2701:test/armeria-http2-server

Conversation

@bhawnapannu2701
Copy link
Copy Markdown

Problem
Issue #3227 tracks adding HTTP/2 coverage for HTTP instrumentation. Armeria server library instrumentation currently runs the shared HTTP server tests in the default HTTP/1.1 mode only.

Fix
Adds ArmeriaHttp2ServerTest, which extends the existing ArmeriaHttpServerTest and enables HttpServerTestOptions.useHttp2(). This reuses the existing shared HTTP server test suite and exercises the same Armeria library instrumentation over h2c.

Tests

  • gradlew.bat --no-daemon --max-workers=1 :instrumentation:armeria:armeria-1.3:library:test --tests *ArmeriaHttp2ServerTest
  • gradlew.bat --no-daemon --max-workers=1 :instrumentation:armeria:armeria-1.3:library:test

Risks
Low. This is a test-only change and does not change production instrumentation behavior.

How to verify
Run the focused Armeria HTTP/2 test task above and confirm the inherited server tests pass with HTTP/2 enabled.

Fixes #3227

@bhawnapannu2701 bhawnapannu2701 requested a review from a team as a code owner May 14, 2026 02:14
Copilot AI review requested due to automatic review settings May 14, 2026 02:14
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

@laurit
Copy link
Copy Markdown
Contributor

laurit commented May 14, 2026

@laurit laurit added the needs author feedback Waiting for additional feedback from the author label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR has been labeled as stale due to lack of activity and needing author feedback. It will be automatically closed if there is no further activity over the next 7 days.

@github-actions github-actions Bot added the stale label May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs author feedback Waiting for additional feedback from the author stale

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests that use HTTP/2

3 participants