Skip to content

fix(test): make http2-pseudo-headers test order-independent#5234

Merged
mcollina merged 1 commit into
mainfrom
fix-flaky-http2-pseudo-headers-test
May 8, 2026
Merged

fix(test): make http2-pseudo-headers test order-independent#5234
mcollina merged 1 commit into
mainfrom
fix-flaky-http2-pseudo-headers-test

Conversation

@mcollina

@mcollina mcollina commented May 6, 2026

Copy link
Copy Markdown
Member

The rawHeaders array from Node.js http2 server can arrive in different
order depending on platform and Node.js version. Sort the array before
comparison so the test is deterministic across all environments.

Fixes #5219

The rawHeaders array from Node.js http2 server can arrive in
different order depending on platform and Node.js version.
Sort the array before comparison to make the test deterministic
across all environments.

Fixes #5219
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (e58fff7) to head (16851aa).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5234   +/-   ##
=======================================
  Coverage   93.27%   93.27%           
=======================================
  Files         110      110           
  Lines       36353    36353           
=======================================
  Hits        33909    33909           
  Misses       2444     2444           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@mcollina mcollina merged commit 123db79 into main May 8, 2026
35 checks passed
@mcollina mcollina deleted the fix-flaky-http2-pseudo-headers-test branch May 8, 2026 19:43
@github-actions github-actions Bot mentioned this pull request May 14, 2026
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.

[flaky] test\http2-pseudo-headers.js

3 participants