Uh oh!
There was an error while loading. Please reload this page.
Add missing coverage tests for OptimizedTagMap and EntryReadingHelper - #11778
Conversation
Tests for stream(), compute(), computeIfAbsent(), and computeIfPresent() on OptimizedTagMap were absent; EntryReadingHelper had no test coverage at all since LegacyTagMap (its sole caller) was removed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
🟢 Java Benchmark SLOs — All performance SLOs passed
PR vs. master results
Commit: Load and DaCapo benchmarks can be triggered manually in the GitLab pipeline. Results will appear in the Benchmarking Platform UI after completion. |
/merge |
View all feedbacks in Devflow UI.
The expected merge time in
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
…#11778) Add missing coverage tests for OptimizedTagMap and EntryReadingHelper Tests for stream(), compute(), computeIfAbsent(), and computeIfPresent() on OptimizedTagMap were absent; EntryReadingHelper had no test coverage at all since LegacyTagMap (its sole caller) was removed. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Merge branch 'master' into dougqh/tagmap-coverage-fix Co-authored-by: devflow.devflow-routing-intake <devflow.devflow-routing-intake@kubernetes.us1.ddbuild.io>
What This Does
Increases coverage of TagMap & related classes
Motivation
Additional Notes
stream(),compute(),computeIfAbsent(), andcomputeIfPresent()tests toTagMapTest— these methods onOptimizedTagMaphad no direct test coverageEntryReadingHelperTest—EntryReadingHelperhad 0% coverage afterLegacyTagMap(its sole caller) was removed in Remove LegacyTagMap; OptimizedTagMap is the sole TagMap implementation #11678Test plan
./gradlew :internal-api:test --tests "datadog.trace.api.TagMapTest.stream" --tests "datadog.trace.api.TagMapTest.compute" --tests "datadog.trace.api.TagMapTest.computeIfAbsent" --tests "datadog.trace.api.TagMapTest.computeIfPresent" --tests "datadog.trace.api.EntryReadingHelperTest"passes🤖 Generated with Claude Code