Skip to content

TestUpgradeBrokenPackageVersion should be skipped when package version and beats version diverge #9188

@pchila

Description

@pchila

TestUpgradeBrokenPackageVersion cannot work when package version and the string contained in version.go diverge because of this snippet which will stop returning the correct versioned home.
The goal of this issue is to find an automated way to disable the test when package version and the version string in code diverge (we can file a follow-up issue, we don't need to solve this in this PR)

Originally posted by @pchila in #9048 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions