Skip to content

Allow running tests against specific opentelemetry collector binary #97

@rapphil

Description

@rapphil

According to the documentation, if we want to test a development version of the target of the remote_write_sender tests, we have to copy the binary in the bin directory.

Right now most of the targets of tests are hard coded to a specific version and the binary that will be used in the tests will use the name of the artifact published and copy the content in the bin directory. However this is not stable as the filename will usually contain the version e.g.: otelcol_0.42.0_linux_amd64

I'm proposing that we use the filename in archive instead of deriving the filename from the published artifact, since this will be more stable.

Alternative approach:

Allow to use different binaries for tests based on environment variables. We could stablish a convention for environment variables that could be used by all targets.

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