Skip to content

tests: don't do so many internet requests #6163

Open
@Luap99

Description

@Luap99

Each network request increases the chances flakes, tests should always avoid making external requests as much as possible.
Example failures observed in podman: https://api.cirrus-ci.com/v1/artifact/task/6035732734672896/html/bud-podman-fedora-42-root-host-sqlite.log.html

# STEP 6/7: ADD https://github.com/containers/buildah/blob/main/README.md /tmp/
# Error: building at STEP "ADD https://github.com/containers/buildah/blob/main/README.md /tmp/": reading "https://github.com/containers/buildah/blob/main/README.md": invalid response status 429

Unless there is some strong reason I suggest these tests should setup their own local websever to serve these contents so they don't have to reach out to servers we don't control.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions