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

ddtrace/tracer: Fix TestSpanTracePushSeveral #2062

Merged
merged 1 commit into from
Jun 22, 2023

Conversation

ajgajg1134
Copy link
Contributor

What does this PR do?

Start spans in this test instead of creating them manually.

Motivation

While working on partial flushing this test failed in weird and interesting ways because it calls finish on spans that never actually started. To avoid this, this PR actually calls start span instead of relying on the weird test function that allows creating a span directly.

Describe how to test/QA your changes

the test should continue to pass

Reviewer's Checklist

  • Changed code has unit tests for its functionality.
  • If this interacts with the agent in a new way, a system test has been added.

Verified

This commit was signed with the committer’s verified signature. The key has been revoked.
joachifm Joachim F.
@ajgajg1134 ajgajg1134 requested a review from a team June 22, 2023 20:49
@pr-commenter
Copy link

pr-commenter bot commented Jun 22, 2023

Benchmarks

Benchmark execution time: 2023-06-22 20:57:30

Comparing candidate commit 6b05834 in PR branch andrew.glaude/StartSpansTestFix with baseline commit d95fdb5 in branch main.

Found 0 performance improvements and 0 performance regressions! Performance is the same for 24 metrics, 0 unstable metrics.

@katiehockman katiehockman merged commit d2cd391 into main Jun 22, 2023
@katiehockman katiehockman deleted the andrew.glaude/StartSpansTestFix branch June 22, 2023 21:34
@ajgajg1134 ajgajg1134 restored the andrew.glaude/StartSpansTestFix branch June 23, 2023 13:14
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

2 participants