Closed romainkomorndatadog closed 1 week ago
Branch report: backport-9349-to-2.7
Commit report: 1181227
Test service: dd-trace-py
:x: 1 Failed (0 Known Flaky), 54742 Passed, 115761 Skipped, 10h 31m 32.23s Total duration (2h 20m 29.71s time saved)
test_get_distributions
- test_packages.py
- Details
Benchmark execution time: 2024-06-18 18:22:06
Comparing candidate commit 1181227a5acb89eaadd3fa425e5dc15339375fe6 in PR branch backport-9349-to-2.7
with baseline commit ece781c9e8d76d8c2b734654c083c09045187f56 in branch 2.7
.
Found 0 performance improvements and 0 performance regressions! Performance is the same for 193 metrics, 9 unstable metrics.
Backport fffab017cb2de72d10b35585350c7fa65756e785 from #9349 to 2.7.
Adds a guard against
on_span_finish()
with partial flushing on running into anIndexError
because there are no spans to flush (which may happen iftracer.configure()
was called between the time a span was created and the time it was finished).In practice, this turns into:
This also refactors the test for our
os.fork()
wrapper to have the child process unpatchcoverage
(just in case, since it occasionally causes exceptions on exit) and exit cleanly (otherwise it would continue running other tests which is not what we want).Checklist
changelog/no-changelog
is set@DataDog/apm-tees
.Reviewer Checklist