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

datadog: fix race in test #157

Merged
merged 1 commit into from
Jun 20, 2024
Merged

datadog: fix race in test #157

merged 1 commit into from
Jun 20, 2024

Conversation

kevinburkesegment
Copy link
Contributor

While the metrics are set in the correct order, the use of a HTTP server to receive them means that the metrics can be received on the server side in any order, which fails the tests 1 time out of 200, potentially higher.

This means we can't rely on any ordering on the server side in the test, and need to manually sort events.

@kevinburkesegment kevinburkesegment requested a review from a team June 20, 2024 21:49
While the metrics are set in the correct order, the use of a HTTP
server to receive them means that the metrics can be received on the
server side in any order, which fails the tests 1 time out of 200,
potentially higher.

This means we can't rely on any ordering on the server side in the
test, and need to manually sort events.
@kevinburkesegment kevinburkesegment merged commit 0d7fc88 into main Jun 20, 2024
7 checks passed
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.

2 participants