Skip to content

Mark Span ID generation tests as flaky #7098

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

Merged
merged 1 commit into from
Jun 13, 2025
Merged

Conversation

NachoEchevarria
Copy link
Contributor

Summary of changes

The test NextSpanId_Are_Evenly_Distributed(bool useAllBits) has failed because it generates ids randomly and it can happen from time to time that the generated ids don't comply the test expectations regarding distribution. Since the test behavior is not predictable, the involved tests have been marked as flaky.

Reason for change

Implementation details

Test coverage

Other details

@NachoEchevarria NachoEchevarria marked this pull request as ready for review June 12, 2025 16:02
@NachoEchevarria NachoEchevarria requested a review from a team as a code owner June 12, 2025 16:02
@github-actions github-actions bot added the area:tests unit tests, integration tests label Jun 12, 2025
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented Jun 12, 2025

Datadog Report

All test runs ad1f583 🔗

2 Total Test Services: 0 Failed, 2 Passed

Test Services
Service Name Failed Known Flaky New Flaky Passed Skipped Total Time Test Service View
dd-trace-dotnet 0 0 0 249444 2467 15h 15m 23.38s Link
exploration_tests 0 0 0 22085 3 2m 9.8s Link

Copy link
Member

@andrewlock andrewlock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@NachoEchevarria NachoEchevarria changed the title Add tests as flaky Mark Span ID generation tests as flaky Jun 12, 2025
@NachoEchevarria NachoEchevarria merged commit 18d0c75 into master Jun 13, 2025
127 of 130 checks passed
@NachoEchevarria NachoEchevarria deleted the nacho/SpanIdFlakyTest branch June 13, 2025 08:47
@github-actions github-actions bot added this to the vNext-v3 milestone Jun 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:tests unit tests, integration tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants