Skip to content

Flaky test_fetch_redirect depends on 3rd-party server #24597

Open

Description

@RReverser

test_fetch_redirect has been flaking quite a bit lately, and the only reason seems to be because it depends on a 3rd-party server (httpbin.org) to return a redirect header.

It should be pretty straightforward to replace that with a tiny local HTTP server instead, e.g. via http.server.

Activity

  1. sbc100 commented on Jun 18, 2025

    @sbc100
    Collaborator

    This was recently added in #24414. @dipidoo would you have time to look into this?

  2. RReverser commented on Jun 18, 2025

    @RReverser
    CollaboratorAuthor

    Ah, that would explain why we haven't seen it before 😅

  3. dipidoo commented on Jun 30, 2025

    @dipidoo
    Contributor

    I apologize for this oversight and I have prepared #24638 to address this, it should be ready shortly.

  4. dipidoo commented on Jul 1, 2025

    @dipidoo
    Contributor

    #24638 is now ready for review, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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