Skip to content

Flaky test: ContentTest.testEmptyContent times out on mingwX64 #5477

Description

Root cause

The test times out after 20 seconds on Windows native (mingwX64) with no error message. This suggests the test server or client hangs during the empty content request/response cycle on this platform.

Also observed as ContentTest.testEmptyContent[macosArm64] on the release/3.x base branch (build 412674).

Suggested fix

Investigate whether the empty content handling has a platform-specific issue on native targets, particularly around connection handling or response completion signaling.

File: ktor-client/ktor-client-tests/common/test/io/ktor/client/tests/ContentTest.kt

Observed in PR #5465 and on release/3.x base branch.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions