Skip to content

test: enable 9 already-passing Node compat tests#33582

Open
nathanwhitbot wants to merge 1 commit intodenoland:mainfrom
nathanwhitbot:fix/node-compat-iter46
Open

test: enable 9 already-passing Node compat tests#33582
nathanwhitbot wants to merge 1 commit intodenoland:mainfrom
nathanwhitbot:fix/node-compat-iter46

Conversation

@nathanwhitbot
Copy link
Copy Markdown
Contributor

Summary

Enables 9 Node.js compat tests that already pass on main without any code changes. No production code touched — just tests/node_compat/config.jsonc entries.

  • parallel/test-als-defaultvalue.js
  • parallel/test-fastutf8stream-destroy.js
  • parallel/test-fs-readdir-buffer.js
  • parallel/test-http2-backpressure.js
  • parallel/test-http2-close-while-writing.js
  • parallel/test-http2-server-sessionerror.js
  • parallel/test-https-abortcontroller.js
  • parallel/test-tcp-wrap-connect.js
  • parallel/test-tls-add-context.js

Test plan

  • Each test verified via cargo test --test node_compat -- <name> (9/9 pass)
  • Re-ran each test 3× to confirm stability — all stable

All 9 tests pass against current main with no code changes; this just
adds them to config.jsonc so they're tracked. Each was verified via
`cargo test --test node_compat -- <name>` and re-run three times to
rule out flakiness.

  parallel/test-als-defaultvalue.js
  parallel/test-fastutf8stream-destroy.js
  parallel/test-fs-readdir-buffer.js
  parallel/test-http2-backpressure.js
  parallel/test-http2-close-while-writing.js
  parallel/test-http2-server-sessionerror.js
  parallel/test-https-abortcontroller.js
  parallel/test-tcp-wrap-connect.js
  parallel/test-tls-add-context.js
Copy link
Copy Markdown
Contributor Author

@nathanwhitbot nathanwhitbot left a comment

Choose a reason for hiding this comment

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

Config-only — 9 additive {} entries. Spot-checked the trickier ASCII
placements:

  • test-fs-readdir-buffer.js after test-fs-read.js — correct because
    . (0x2e) < d (0x64), so read.js < readdir-….
  • test-http2-server-sessionerror.js after …-server-session-destroy.js
    - (0x2d) < e (0x65), so session-… < sessionerror.
  • test-https-abortcontroller.js after the http2 block, before
    …-agent-abort-controller.js2 < s separates http2 and
    https, then b < g separates abort from agent.

All 9 land in the right slot. LGTM.

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