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

Require a shorter test for the (optional) consistent probability sampler #2319

Merged
merged 9 commits into from Feb 14, 2022

Conversation

jmacd
Copy link
Contributor

@jmacd jmacd commented Feb 4, 2022

Changes

The Consistent Probability Sampler tests specified in #2047 require too much runtime in the OTel-Go repository to be acceptable. The test had specified trials using 1,000,000 spans. I've changed the specification to test 100,000 spans. Because we can't test very low probabilities with a smaller test, I've removed 5 of the 20 test cases, leaving 15 tests.

The OTel-Go tests run in under 1 minute (before recent span optimizations in that repo).

See open-telemetry/opentelemetry-go-contrib#1379

@carlosalberto
Copy link
Contributor

@jmacd Lint is failing.

@carlosalberto
Copy link
Contributor

Merging as this is a simplification (and overall a trivial change).

@carlosalberto carlosalberto merged commit f5f6a7c into open-telemetry:main Feb 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants