Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow running the compliance test against specified runners #4

Open
rakyll opened this issue Apr 13, 2021 · 2 comments
Open

Allow running the compliance test against specified runners #4

rakyll opened this issue Apr 13, 2021 · 2 comments

Comments

@rakyll
Copy link

rakyll commented Apr 13, 2021

As someone who is only doing work for the OpenTelemetry collector, it'd be great to be able to run the tests only against Otel. Currently, I comment out the rest of the runners to achieve this behavior easily but it'd be nice if I was able to configure the tests via an environment variable.

@tomwilkie
Copy link
Member

Hi Jaana! I stuck something in the readme on how to do this:

$ go test -run "TestRemoteWrite/otelcollector/.+" -v ./

I agree though, I want to make this much easier / flag or env based and ditch running these as unit tests when it makes sense, so I'll leave this open.

@rakyll
Copy link
Author

rakyll commented Apr 13, 2021

What you are suggesting is pretty reasonable especially with a reference snippet on the README.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants