Skip to content

cmd/go: remove external network access from cmd/go script tests. #80243

Description

@matloob

A bunch of cmd/go script tests make use of the external network (usually for fetching modules, or testing VCS integration). This was more necessary in the past but we migrated the serving of a lot of modules/packages used for tests from a public vcs-test.golang.org server to a server started locally alongside the tests in #27494. There has been a tail of tests that we haven't converted yet but most of them are able to be converted, with a handful that fundamentally need the external network. We should convert the ones that can be converted and sequester the rest in our cmd/go/internal/verylongtest package of shame.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.GoCommandcmd/goTestingAn issue that has been verified to require only test changes, not just a test failure.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Status
    In Progress

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions