Skip to content

Flaky: HttpTimeoutTest.testGetRequestTimeoutWithSeparateReceivePerRequestAttributes on linuxX64 #5473

@e5l

Description

@e5l

Root cause

The test io.ktor.client.tests.HttpTimeoutTest.testGetRequestTimeoutWithSeparateReceivePerRequestAttributes intermittently fails on linuxX64 with the Curl engine.

Error: The test expects a successful response after a timeout is reset per-request, but both retry attempts fail with HttpRequestTimeoutException for the Curl engine. The CIO engine passes on the second attempt. This suggests the Curl engine on Linux native does not properly honor per-request timeout attribute overrides when receiving a streaming response.

Reproduction

Fails intermittently on TeamCity linuxX64 builds. Example builds:

Impact

This failure is present on the release/3.x base branch (various HttpTimeoutTest variants) and affects PRs targeting it intermittently.

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