KTOR-9337 Skip CurlHttp2Test protocol version check on Windows#5465
KTOR-9337 Skip CurlHttp2Test protocol version check on Windows#5465e5l merged 1 commit intorelease/3.xfrom
Conversation
The Windows CI curl build does not negotiate HTTP/2 via ALPN, causing the protocol version assertion to always fail on mingwX64. Skip the test on Windows using Platform.osFamily check, matching the existing pattern used in LibcurlTest. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
📝 WalkthroughWalkthroughAdded imports and an overridden test method to Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~8 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
| sslVerify = false | ||
| } | ||
|
|
||
| // https://github.com/ktorio/ktor/issues/5458 |
There was a problem hiding this comment.
Done — updated the PR title to reference KTOR-9337.
|
Addressed review feedback:
CI failures investigation — all 3 failing checks contain pre-existing flaky tests unrelated to this PR's change (
|
Summary
CurlHttp2Test.test protocol version is HTTP 2always fails on mingwX64 (returns HTTP/1.1 instead of HTTP/2.0)Platform.osFamily == OsFamily.WINDOWScheck, matching the existing pattern used inLibcurlTestCloses #5458
Test plan
🤖 Generated with Claude Code