Skip to content

cmd/go: -failfast flag does not apply across packages #33038

@dsnet

Description

@dsnet

Using go1.12

The documentation for failfast says "Do not start new tests after the first test failure."

When running go test ./... -failfast and one of the packages has a failure, it continues to run the tests for other packages. My interpretation of the documentation above is that go test would stop after any failure, even if in a different package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixPendingIssues that have a fix which has not yet been reviewed or submitted.FrozenDueToAgeGoCommandcmd/goNeedsFixThe path to resolution is known, but the work has not been done.help wanted

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions