DataDog / dd-sdk-android

Datadog SDK for Android (Compatible with Kotlin and Java)
Apache License 2.0
150 stars 59 forks source link

Fix flaky test regarding PerformanceMeasure sampling rate #2046

Closed xgouchet closed 4 months ago

xgouchet commented 4 months ago

What does this PR do?

Fix a flaky test where our margin of error regarding sampling rate was too small.

codecov-commenter commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.23%. Comparing base (a783738) to head (ded5bcb). Report is 2 commits behind head on develop.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #2046 +/- ## =========================================== + Coverage 83.18% 83.23% +0.04% =========================================== Files 493 493 Lines 17691 17701 +10 Branches 2681 2685 +4 =========================================== + Hits 14716 14732 +16 + Misses 2238 2228 -10 - Partials 737 741 +4 ``` [see 28 files with indirect coverage changes](https://app.codecov.io/gh/DataDog/dd-sdk-android/pull/2046/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=DataDog)